mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-12-25 16:32:47 +00:00
dart: print more errors
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
This commit is contained in:
parent
b927af1b7a
commit
a7f40c7813
|
|
@ -239,7 +239,15 @@ def main():
|
|||
if not (pkgs_url := resp["nextUrl"]):
|
||||
break
|
||||
|
||||
# wait for all packages to be handled
|
||||
for f in concurrent.futures.as_completed(pkg_futures):
|
||||
try:
|
||||
f.result()
|
||||
except Exception as e:
|
||||
logger.error(f"Error handling package: {e}")
|
||||
|
||||
pkg_executor.shutdown(wait=True)
|
||||
download_executor.shutdown(wait=True)
|
||||
|
||||
if clean:
|
||||
# clean up obsolete packages
|
||||
|
|
|
|||
Loading…
Reference in New Issue