Last active
August 10, 2017 23:02
-
-
Save Endogen/f459f63eb4ae41102f4af3512cb006bc to your computer and use it in GitHub Desktop.
Exception handling for Kraken API calls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Will this solve the timeout errors properly? | |
# Errors lead to freeze(?) | |
try: | |
res_data = kraken.query_private("Balance") | |
except Exception as ex: | |
error(bot, update, ex) | |
cancel(bot, update) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment