fix #4136 upload automatically the log file for unhandled exception