Used fmt.Fprintln() to print line breaks
This commit is contained in:
parent
1b04957416
commit
00e70ad605
@ -136,13 +136,13 @@ func logPanic(loggedError error, recursive bool) string {
|
||||
if len(os.Args) > 0 {
|
||||
fmt.Fprintf(fmtWriter, " %s", strings.Join(os.Args[1:], " "))
|
||||
}
|
||||
fmt.Fprint(fmtWriter, "\n")
|
||||
fmt.Fprintln(fmtWriter)
|
||||
|
||||
logEnv(fmtWriter)
|
||||
fmt.Fprint(fmtWriter, "\n")
|
||||
fmt.Fprintln(fmtWriter)
|
||||
|
||||
fmtWriter.Write(ErrorBuffer.Bytes())
|
||||
fmt.Fprint(fmtWriter, "\n")
|
||||
fmt.Fprintln(fmtWriter)
|
||||
|
||||
fmt.Fprintln(fmtWriter, loggedError.Error())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user