We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
return µ.GET( µ.URI(µ.Path("catalog"), µ.Path(lAuthorID), µ.Path("posts"), µ.PathAll(lObjectID)), µ.FMap(func(ctx *µ.Context, req *req) error { story, err := api.r.Story(ctx, core.NewStoryID(profile, string(req.objectID)), ) if err != nil { // slog <-- looks redundant here. slog.Error("failed to fetch post", "err", err, "uri", ctx.Request.URL) return ø.Status.InternalServerError( ø.Error(err, "failed to fetch post"), ) } ...
Embed slog within InternalServerError, each output needs to accept ctx.
slog
InternalServerError
ctx
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Embed
slog
withinInternalServerError
, each output needs to acceptctx
.The text was updated successfully, but these errors were encountered: