Always `.error()` log unknown queries for `marketstore`
parent
daf7b3f4a5
commit
009bbe456e
|
@ -454,8 +454,12 @@ class Storage:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
result = await client.query(params)
|
result = await client.query(params)
|
||||||
except purerpc.grpclib.exceptions.UnknownError:
|
except purerpc.grpclib.exceptions.UnknownError as err:
|
||||||
# indicate there is no history for this timeframe
|
# indicate there is no history for this timeframe
|
||||||
|
log.exception(
|
||||||
|
f'Unknown mkts QUERY error: {params}\n'
|
||||||
|
f'{err.args}'
|
||||||
|
)
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
# TODO: it turns out column access on recarrays is actually slower:
|
# TODO: it turns out column access on recarrays is actually slower:
|
||||||
|
|
Loading…
Reference in New Issue