one typo in code, Error->Errorf

This commit is contained in:
Benny~ 2020-03-10 19:07:56 +08:00
parent 0b0da3b46c
commit e1c4738b1d
No known key found for this signature in database
GPG Key ID: 6CD0DBDA5235D481

View File

@ -15,7 +15,7 @@ import (
func autoUpdate() { func autoUpdate() {
defer func() { defer func() {
if err := recover(); err != nil { if err := recover(); err != nil {
log.Error("Download error.", err) log.Errorf("Download error.", err)
} }
}() }()