mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-11-16 01:46:15 +01:00
Merge branch 'feature/nicer-safe-render-errors' into 'develop'
Nicer formatting for safe_render errors See merge request pleroma/pleroma!1560
This commit is contained in:
commit
f5aacaf4d3
@ -58,10 +58,10 @@ defmodule Pleroma.Web do
|
||||
rescue
|
||||
error ->
|
||||
Logger.error(
|
||||
"#{__MODULE__} failed to render #{inspect({view, template})}: #{inspect(error)}"
|
||||
"#{__MODULE__} failed to render #{inspect({view, template})}\n" <>
|
||||
Exception.format(:error, error, __STACKTRACE__)
|
||||
)
|
||||
|
||||
Logger.error(inspect(__STACKTRACE__))
|
||||
nil
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user