Skip to content

Commit

Permalink
Improve logging message
Browse files Browse the repository at this point in the history
  • Loading branch information
egli committed Jan 28, 2025
1 parent b531fac commit 4d35f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/daisyproducer2/louis.clj
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
(.getBraille (.translate translator word nil nil inter-character-attributes))
;; log the params that caused the exception and bubble it up
(catch Exception e
(log/errorf "Translation failed for word '%s' with tables %s: %s" word (str translator) e)
(log/errorf "Translation failed for word '%s'" word)
(throw
(ex-info "Braille translation failed" {:error-id :braille-translation-failed :errors word} e))))))

0 comments on commit 4d35f81

Please sign in to comment.