when api docs cannot be loaded, say which

This commit is contained in:
Mechiel Lukkien
2023-10-13 08:52:06 +02:00
parent 67fe88f431
commit 4e26fd13e2
3 changed files with 3 additions and 3 deletions

View File

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