Don't capitalize error messages.

singlequotes
Martin Dosch 1 year ago
parent 93cf569c35
commit 8819c4f13d
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -136,7 +136,7 @@ func httpUpload(client *xmpp.Client, iqc chan xmpp.IQ,
if varAttr.Value == "max-file-size" && prevFieldVal.Text() == nsHTTPUpload {
maxFileSize, err = strconv.ParseInt(curFieldVal.Text(), 10, 64)
if err != nil {
log.Fatal("Error while checking server maximum http upload file size.")
log.Fatal("error while checking server maximum http upload file size.")
}
}
}
@ -169,7 +169,7 @@ func httpUpload(client *xmpp.Client, iqc chan xmpp.IQ,
log.Fatal(err)
}
if uploadSlot.Type != "result" {
log.Fatal("Error while requesting upload slot.")
log.Fatal("error while requesting upload slot.")
}
iqHTTPUploadSlotXML := etree.NewDocument()
err = iqHTTPUploadSlotXML.ReadFromBytes(uploadSlot.Query)

@ -495,7 +495,7 @@ func oxRecvPublicKeys(client *xmpp.Client, iqc chan xmpp.IQ, recipient string,
return nil, err
}
if oxPublicKey.Type != "result" {
return nil, errors.New("Error while requesting public key for " +
return nil, errors.New("error while requesting public key for " +
recipient)
}
oxPublicKeyXML := etree.NewDocument()
@ -569,7 +569,7 @@ func oxGetPublicKeyRing(client *xmpp.Client, iqc chan xmpp.IQ,
log.Fatal(err)
}
if oxPublicKeyList.Type != "result" {
return nil, errors.New("Error while requesting public openpgp keys for " +
return nil, errors.New("error while requesting public openpgp keys for " +
recipient)
}
oxPubKeyListXML := etree.NewDocument()

Loading…
Cancel
Save