Fix for error when an exception is raised before processor is defined