mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-05 19:08:02 -05:00
ErrorLogs now cleared after submission of issue ticket reports so that the same errors don't keep getting re-submitted with new ones.
This commit is contained in:
parent
6713ce0981
commit
7b219fce8f
@ -4745,6 +4745,8 @@ class ErrorLogs(WebRoot):
|
|||||||
issue = self.gh_issues.create_issue(title, message)
|
issue = self.gh_issues.create_issue(title, message)
|
||||||
if issue:
|
if issue:
|
||||||
ui.notifications.message('Your issue ticket #%s was submitted successfully!' % issue.number)
|
ui.notifications.message('Your issue ticket #%s was submitted successfully!' % issue.number)
|
||||||
|
classes.ErrorViewer.clear()
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.log(ex(e), logger.ERROR)
|
logger.log(ex(e), logger.ERROR)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user