@@ -60,7 +60,7 @@ defmodule Logger.Translator do
60
60
61
61
def translate ( _min_level , :info , :report ,
62
62
{ :std_info , [ application: app , exited: reason , type: _type ] } ) do
63
- { :ok , "Application #{ app } exited with reason #{ Exception . format_exit ( reason ) } " }
63
+ { :ok , "Application #{ app } exited: #{ Application . format_error ( reason ) } " }
64
64
end
65
65
66
66
def translate ( min_level , :error , :report , { :supervisor_report , data } ) do
@@ -206,7 +206,7 @@ defmodule Logger.Translator do
206
206
{ :ok , [ "Process " , crash_name ( pid , name ) , " terminating\n " ,
207
207
crash_info ( min_level , [ initial_call | crashed ] ) ,
208
208
crash_linked ( min_level , linked ) |
209
- Exception . format_banner ( kind , exception , stack ) ] }
209
+ Exception . format ( kind , exception , stack ) ] }
210
210
end
211
211
212
212
defp translate_crash ( min_level ,
@@ -217,7 +217,7 @@ defmodule Logger.Translator do
217
217
{ :ok , [ "Process " , crash_name ( pid , name ) , " terminating\n " ,
218
218
crash_info ( min_level , crashed ) ,
219
219
crash_linked ( min_level , linked ) |
220
- Exception . format_banner ( kind , exception , stack ) ] }
220
+ Exception . format ( kind , exception , stack ) ] }
221
221
end
222
222
223
223
defp crash_name ( pid , [ ] ) , do: inspect ( pid )
0 commit comments