Skip to content

Commit

Permalink
Attempt to provide better diagnostics from recent crashes --autopull
Browse files Browse the repository at this point in the history
This doesn't attempt to fix anything really, just provide better visibility
  • Loading branch information
tripleee committed Aug 30, 2018
1 parent 3fede90 commit 392262b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion chatcommands.py
Expand Up @@ -1592,7 +1592,10 @@ def true(feedback, msg, comment, alias_used="true"):
feedback_type.send(post_url, feedback)

post_id, site, post_type = fetch_post_id_and_site_from_url(post_url)
user = get_user_from_url(owner_url)
try:
user = get_user_from_url(owner_url)
except TypeError as e:
raise CmdException('Could not get user from URL {0!t}'.format(owner_url))

if user is not None:
if feedback_type.blacklist:
Expand Down

0 comments on commit 392262b

Please sign in to comment.