Browse Source

Format stack frames

master
Sean Johnson 2 years ago
parent
commit
6a2ed47509
  1. 3
      resource/tools/backup-volumes.py

3
resource/tools/backup-volumes.py

@ -105,7 +105,8 @@ async def backup_all_volumes():
# Log exceptions for each task
for task in tasks:
if (err := task.exception()) is not None:
log_stdout(f"Backup task failed", exception=err, stack=task.get_stack())
frames = traceback.format_list(task.get_stack())
log_stdout(f"Backup task failed", exception=err, stack=frames)
async def backup_volume(vol_name: str, vol_data: str):

Loading…
Cancel
Save