0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 07:43:18 -05:00

add line break after SSH error message

This commit is contained in:
Unknwon 2015-11-30 10:00:52 -05:00
parent aaa3f1b2b9
commit 9950f5a5bd

View file

@ -77,7 +77,7 @@ func fail(userMessage, logMessage string, args ...interface{}) {
if len(logMessage) > 0 {
if !setting.ProdMode {
fmt.Fprintf(os.Stderr, logMessage, args...)
fmt.Fprintf(os.Stderr, logMessage+"\n", args...)
}
log.GitLogger.Fatal(3, logMessage, args...)
return