Skip to content

Commit

Permalink
the errors were not printed correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoKramer committed Mar 3, 2020
1 parent 0915bfe commit 554fa11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bob/pipeline/internals.clj
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@
(log/infof "Marking run %d for %s as failed with reason: %s"
number
pipeline
(f/message err))
(u/log-to-db (format "[bob] Run failed with reason: %s" (f/message err)) run-id)
(str err))
(u/log-to-db (format "[bob] Run failed with reason: %s" (str err)) run-id)
(f/try* (db/update-run states/db
{:status "failed"
:id run-id}))))
Expand Down

0 comments on commit 554fa11

Please sign in to comment.