Passing the exception to the error manager to make it available for the --debug option.