Uncaught exception was stopping the logger.

Wrap exception as NotificationException