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

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