1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00: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 len(logMessage) > 0 {
if !setting.ProdMode { if !setting.ProdMode {
fmt.Fprintf(os.Stderr, logMessage, args...) fmt.Fprintf(os.Stderr, logMessage+"\n", args...)
} }
log.GitLogger.Fatal(3, logMessage, args...) log.GitLogger.Fatal(3, logMessage, args...)
return return