mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:04:26 +00:00
add line break after SSH error message
This commit is contained in:
parent
aaa3f1b2b9
commit
9950f5a5bd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user