fixed exception_writer calls in processor

fixed exception_writer calls in processor