Raise exception type
This commit is contained in:
@@ -642,7 +642,7 @@ def build_notify_text(session=None, timeline=None, notify_action=None, agent_id=
|
||||
with open(poster_file, 'wb') as f:
|
||||
f.write(result[0])
|
||||
else:
|
||||
raise Exception(u'PMS request failed')
|
||||
raise Exception(u'PMS image request failed')
|
||||
|
||||
# Upload thumb to Imgur and get link
|
||||
poster_url = helpers.uploadToImgur(poster_file, poster_title)
|
||||
|
Reference in New Issue
Block a user