Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

Commit

Permalink
fix: 修复SystemExit被当做报错处理的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
innc11 committed Apr 23, 2021
1 parent f0541b4 commit 299f918
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

entry = Entry()
entry.main()
except SystemExit:
pass
except BaseException:
print(traceback.format_exc())
errorFile = File('updater.error.log') if not inDev else File(devDirectory + '/updater.error.log')
Expand Down

0 comments on commit 299f918

Please sign in to comment.