Skip to content

Commit

Permalink
feat: ask the user whether to open error reporting website
Browse files Browse the repository at this point in the history
  • Loading branch information
itsHenry35 committed Jun 28, 2023
1 parent 21c992d commit 5895af6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ def get_platform_info():
except Exception as e:
sentry_sdk.capture_exception(e)
mb.showerror('错误','错误:' + str(e))
mb.showinfo('错误反馈', '请在弹出的网页底部评论区中或在GitHub上将错误反馈给开发者!')
webbrowser.open("https://blog.itshenryz.com/2022/06/01/ledu-playback-download/")
yesnodialog = mb.askyesno('错误反馈', '是否打开错误反馈页面?')
if yesnodialog == True:
mb.showinfo('错误反馈', '请在弹出的网页底部评论区中或在GitHub上将错误反馈给开发者!')
webbrowser.open("https://blog.itshenryz.com/2022/06/01/ledu-playback-download/")
sys.exit()

0 comments on commit 5895af6

Please sign in to comment.