elixir-ecto / db_connection

Database connection behaviour
http://hexdocs.pm/db_connection/DBConnection.html
306 stars 113 forks source link

Logger with crash_reason metadata #204

Closed tpitale closed 5 years ago

tpitale commented 5 years ago

I'm adding crash_reason on use of Logger.error so that projects using libraries like sentry-elixir will be able to capture these logged messages.

tpitale commented 5 years ago

Ugh … auto-formatting. Let me fix.

josevalim commented 5 years ago

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart: