You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
try:
msg.delete(replies=True, files=True)
time.sleep(.5)
except Exception as e:
<code to print "F" to console as I look thru conversations>
But when an "unknown error" occurs it;s not throwing an exception I can catch, it's printing a message, so I get a LOT of these messages:
conversations.replies: unknown error occurred: The request to the Slack API failed. (url: https://www.slack.com/api/conversations.replies) The server responded with: {'ok': False, 'error': 'thread_not_found'}
It seems like rather than print a message it ought to throw an exception that can be caught and handled?
The text was updated successfully, but these errors were encountered:
in my code I use
But when an "unknown error" occurs it;s not throwing an exception I can catch, it's printing a message, so I get a LOT of these messages:
It seems like rather than print a message it ought to throw an exception that can be caught and handled?
The text was updated successfully, but these errors were encountered: