automate: make automation failure message friendlier
This commit is contained in:
parent
281fe905bd
commit
b0d24b9524
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ def run_job(job_cls: Type[BaseAutomation], *,
|
|||
log.automation_id = automation.id
|
||||
log.added = datetime.datetime.utcnow()
|
||||
log.updated = datetime.datetime.utcnow()
|
||||
log.logs = json.dumps(logs)
|
||||
log.logs = str(logs)
|
||||
db.session.add(log)
|
||||
activity = Activity(
|
||||
activity_type="automation",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue