Update for unhandled exception mechanism (BADA)

This commit is contained in:
Miroslav Stampar
2015-01-26 09:09:38 +01:00
parent eb548959b3
commit fd632e5ada
2 changed files with 3 additions and 1 deletions

View File

@@ -2994,6 +2994,8 @@ def createGithubIssue(errMsg, excMsg):
warnMsg = "something went wrong while creating a Github issue"
if ex:
warnMsg += " ('%s')" % ex
if "Unauthorized" in warnMsg:
warnMsg += ". Please update to the latest revision"
logger.warn(warnMsg)
def maskSensitiveData(msg):