Actually that cant happen

This commit is contained in:
shamoon 2024-10-08 23:15:45 -07:00
parent 5fe8e51f2a
commit 64c4ab5770

View File

@ -583,11 +583,10 @@ def run_workflows(
timezone.localtime(document.created), timezone.localtime(document.created),
) )
except Exception: except Exception:
message = f"Error occurred parsing title assignment '{action.assign_title}', falling back to original" logger.exception(
if not use_overrides: f"Error occurred parsing title assignment '{action.assign_title}', falling back to original",
logger.exception(message, extra={"group": logging_group}) extra={"group": logging_group},
else: )
messages.append(message)
else: else:
overrides.title = action.assign_title overrides.title = action.assign_title