Fixed unhandled exception handler showing the error log when it wasn't created