Skip to content

Commit

Permalink
added message when file fails to update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sora201710 committed Dec 5, 2024
1 parent 8700138 commit 0d3babe
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions workbench
Original file line number Diff line number Diff line change
Expand Up @@ -3404,6 +3404,19 @@ def update_files():
"File %s updated.",
config["host"] + "/entity/file/" + row["file_id"],
)
else:
if config["progress_bar"] is False:
print(
"File "
+ config["host"]
+ "/entity/file/"
+ row["file_id"]
+ " could not be updated."
)
logging.info(
"File %s could not be updated.",
config["host"] + "/entity/file/" + row["file_id"],
)

if config["progress_bar"] is True:
row_count += 1
Expand Down

0 comments on commit 0d3babe

Please sign in to comment.