Better error tracing

This commit is contained in:
Tom Wiesing 2023-11-15 11:06:30 +01:00
parent e968f0a5b9
commit 71ef3a290e
No known key found for this signature in database
9 changed files with 52 additions and 16 deletions

View file

@ -53,7 +53,7 @@ func (admin *Admin) instanceSnapshots(ctx context.Context) http.Handler {
ctx.Snapshots, err = ctx.Instance.Snapshots(r.Context())
if err != nil {
return ctx, nil, httpx.ErrInternalServerError
return ctx, nil, err
}
return ctx, []templating.FlagFunc{