diff --git a/webaccount/account.go b/webaccount/account.go index a1688ff..f3ed29f 100644 --- a/webaccount/account.go +++ b/webaccount/account.go @@ -52,7 +52,7 @@ var accountSherpaHandler http.Handler func mustParseAPI(api string, buf []byte) (doc sherpadoc.Section) { err := json.Unmarshal(buf, &doc) if err != nil { - xlog.Fatalx("parsing api docs", err, mlog.Field("api", api)) + xlog.Fatalx("parsing webaccount api docs", err, mlog.Field("api", api)) } return doc } diff --git a/webadmin/admin.go b/webadmin/admin.go index a71404f..5a4bc74 100644 --- a/webadmin/admin.go +++ b/webadmin/admin.go @@ -79,7 +79,7 @@ var adminSherpaHandler http.Handler func mustParseAPI(api string, buf []byte) (doc sherpadoc.Section) { err := json.Unmarshal(buf, &doc) if err != nil { - xlog.Fatalx("parsing api docs", err, mlog.Field("api", api)) + xlog.Fatalx("parsing webadmin api docs", err, mlog.Field("api", api)) } return doc } diff --git a/webmail/api.go b/webmail/api.go index e5f0948..8797c85 100644 --- a/webmail/api.go +++ b/webmail/api.go @@ -50,7 +50,7 @@ type Webmail struct { func mustParseAPI(api string, buf []byte) (doc sherpadoc.Section) { err := json.Unmarshal(buf, &doc) if err != nil { - xlog.Fatalx("parsing api docs", err, mlog.Field("api", api)) + xlog.Fatalx("parsing webmail api docs", err, mlog.Field("api", api)) } return doc }