modify error string to format: <name>.<provider>

ems_hotfixes
Konstantine Tsafatinos 2021-06-09 12:02:05 -04:00
parent 099bf260f5
commit 90e5a10a66
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ class Client:
err = resp['error'] err = resp['error']
if err: if err:
symbolname = pairs['pair'] if pair else None symbolname = pairs['pair'] if pair else None
raise SymbolNotFound(f'kraken: {symbolname}') raise SymbolNotFound(f'{symbolname}.kraken')
pairs = resp['result'] pairs = resp['result']