Cleanup: replace implicit BaseException with Exception

Exception is more appropriate as a general exception in these cases.
This commit is contained in:
Campbell Barton
2024-10-08 09:41:51 +11:00
parent e7e477f2b3
commit 1a1e75c253
10 changed files with 23 additions and 23 deletions

View File

@@ -402,7 +402,7 @@ def main():
log.info(" saving to: " + Path_Blend)
try:
bpy.ops.wm.save_as_mainfile(filepath=Path_Blend, copy=True, compress=False)
except:
except Exception:
log.error("Filename {0} does not exist and can't be created... quitting".format(Path_Blend))
return
else: