Fix error logging format in RemoteLookup

pull/195/head
Matt Baer 5 years ago
parent 457051106d
commit ca4b0acf60
  1. 5
      webfinger.go

@ -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 ""
} }

Loading…
Cancel
Save