Fix error logging format in RemoteLookup

This commit is contained in:
Matt Baer 2020-02-08 13:05:09 -05:00
parent 457051106d
commit ca4b0acf60
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2018 A Bunch Tell LLC. * Copyright © 2018-2020 A Bunch Tell LLC.
* *
* This file is part of WriteFreely. * This file is part of WriteFreely.
* *
@ -113,9 +113,8 @@ func RemoteLookup(handle string) string {
var result webfinger.Resource var result webfinger.Resource
err = json.Unmarshal(body, &result) err = json.Unmarshal(body, &result)
if err != nil { if err != nil {
log.Error("Unsupported webfinger response received", err) log.Error("Unsupported webfinger response received: %v", err)
return "" return ""
} }