1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04: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:
echel0n 2014-12-17 16:39:56 -08:00
parent 6713ce0981
commit 7b219fce8f

View File

@ -4745,6 +4745,8 @@ class ErrorLogs(WebRoot):
issue = self.gh_issues.create_issue(title, message)
if issue:
ui.notifications.message('Your issue ticket #%s was submitted successfully!' % issue.number)
classes.ErrorViewer.clear()
except Exception as e:
logger.log(ex(e), logger.ERROR)