-
Notifications
You must be signed in to change notification settings - Fork 354
Description
Keep getting this error on the log
Traceback (most recent call last):
poloniex_1 | File "/usr/src/app/lendingbot.py", line 97, in
poloniex_1 | Lending.transfer_balances()
poloniex_1 | File "/usr/src/app/modules/Lending.py", line 454, in transfer_balances
poloniex_1 | exchange_balances = api.return_balances() # This grabs only exchange balances.
poloniex_1 | File "/usr/src/app/modules/Poloniex.py", line 169, in return_balances
poloniex_1 | return self.api_query('returnBalances')
poloniex_1 | File "/usr/src/app/modules/ExchangeApi.py", line 29, in new_method
poloniex_1 | return method(self, *arg, **kws)
poloniex_1 | File "/usr/src/app/modules/Poloniex.py", line 141, in api_query
poloniex_1 | ex.message = ex.message if hasattr(ex, 'message') and ex.message else str(ex)
poloniex_1 | UnboundLocalError: local variable 'ex' referenced before assignment
poloniex_1 |
poloniex_1 | Unhandled error, please open a Github issue so we can fix it!