Skip to content
Snippets Groups Projects
Commit 14615b8b authored by vkovtun's avatar vkovtun
Browse files

SSDM-11306: Fixed possible exception when the configuration...

SSDM-11306: Fixed possible exception when the configuration "mail.addresses.dropbox-errors" is not specified.
parent 3ab33488
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -196,8 +196,8 @@ def process(transaction):
def getContactsEmailAddresses(transaction):
emailString = getThreadProperties(transaction)["mail.addresses.dropbox-errors"]
return re.split("[,;]", emailString)
emailString = getThreadProperties(transaction).get("mail.addresses.dropbox-errors")
return re.split("[,;]", emailString) if emailString is not None else []
def reportIssue(transaction, errorMessage, emailAddress):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment