Fixed uncaught exception in export
New exception catcher in file handler