@@ -60,7 +60,7 @@ defmodule Logger.Translator do
6060
6161 def translate ( _min_level , :info , :report ,
6262 { :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 ) } " }
6464 end
6565
6666 def translate ( min_level , :error , :report , { :supervisor_report , data } ) do
@@ -206,7 +206,7 @@ defmodule Logger.Translator do
206206 { :ok , [ "Process " , crash_name ( pid , name ) , " terminating\n " ,
207207 crash_info ( min_level , [ initial_call | crashed ] ) ,
208208 crash_linked ( min_level , linked ) |
209- Exception . format_banner ( kind , exception , stack ) ] }
209+ Exception . format ( kind , exception , stack ) ] }
210210 end
211211
212212 defp translate_crash ( min_level ,
@@ -217,7 +217,7 @@ defmodule Logger.Translator do
217217 { :ok , [ "Process " , crash_name ( pid , name ) , " terminating\n " ,
218218 crash_info ( min_level , crashed ) ,
219219 crash_linked ( min_level , linked ) |
220- Exception . format_banner ( kind , exception , stack ) ] }
220+ Exception . format ( kind , exception , stack ) ] }
221221 end
222222
223223 defp crash_name ( pid , [ ] ) , do: inspect ( pid )
0 commit comments