fix exception_notifier middleware config