in case of an exception, error reporting is broken