mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Improvements for twitter errors handling
This commit is contained in:
parent
4896ebfffd
commit
cbd9718e5f
@ -124,4 +124,6 @@ def twitter_error(error):
|
||||
msg = _(u"Sorry, you are not authorised to see this status.")
|
||||
elif error.error_code == 404:
|
||||
msg = _(u"No status found with that ID")
|
||||
else:
|
||||
msg = _(u"Error code {0}").format(error.error_code,)
|
||||
output.speak(msg)
|
Loading…
Reference in New Issue
Block a user