docker-ce: fix exception raised when print exception

This commit is contained in:
Miao Wang 2024-04-02 21:05:44 +08:00
parent 32ea323772
commit 332cb42cb0

View File

@ -77,7 +77,7 @@ class RemoteSite:
return return
except Exception as e: except Exception as e:
print("Panic: failed to get file list") print("Panic: failed to get file list")
traceback.print_exc(e) traceback.print_exc()
sys.exit(1) sys.exit(1)
if not r.ok: if not r.ok:
return return