branch | 3.26 |
changeset 12333 | 1693730548ef |
parent 11767 | 432f87a63057 |
child 12337 | 04ff0d3ef1d3 |
--- a/cubicweb/ext/rest.py Thu Jun 28 10:38:04 2018 +0200 +++ b/cubicweb/ext/rest.py Thu Jun 28 11:11:10 2018 +0200 @@ -229,7 +229,7 @@ include_file = io.FileInput( source_path=path, encoding=encoding, error_handler=state.document.settings.input_encoding_error_handler, - handle_io_errors=None) + ) except IOError as error: severe = state_machine.reporter.severe( 'Problems with "%s" directive path:\n%s: %s.'