chore: fix typo in exception
This commit is contained in:
@@ -161,7 +161,7 @@ async def _download_archive_ohlcv(
|
|||||||
else:
|
else:
|
||||||
dfs.append(None)
|
dfs.append(None)
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
logger.warning(f"An exception raised: : {e}")
|
logger.warning(f"An exception raised: {e}")
|
||||||
# Directly return the existing data, do not allow the gap within the data
|
# Directly return the existing data, do not allow the gap within the data
|
||||||
await cancel_and_await_tasks(tasks[tasks.index(task) + 1 :])
|
await cancel_and_await_tasks(tasks[tasks.index(task) + 1 :])
|
||||||
return concat_safe(dfs)
|
return concat_safe(dfs)
|
||||||
@@ -488,7 +488,7 @@ async def _download_archive_trades(
|
|||||||
await cancel_and_await_tasks(tasks[tasks.index(task) + 1 :])
|
await cancel_and_await_tasks(tasks[tasks.index(task) + 1 :])
|
||||||
return results
|
return results
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
logger.warning(f"An exception raised: : {e}")
|
logger.warning(f"An exception raised: {e}")
|
||||||
# Directly return the existing data, do not allow the gap within the data
|
# Directly return the existing data, do not allow the gap within the data
|
||||||
await cancel_and_await_tasks(tasks[tasks.index(task) + 1 :])
|
await cancel_and_await_tasks(tasks[tasks.index(task) + 1 :])
|
||||||
return results
|
return results
|
||||||
|
|||||||
Reference in New Issue
Block a user