Skip to content

how to remove stack from responce  #130

@anirudhkayalot

Description

@anirudhkayalot

iam getting responce like this

{"code":"bad_request.foo","message":"Invalid or Inactive webform","stack":[{"filename":"/home/anirudh/mailercloud_form_tracker/main.go","line":17,"method":"main.testerror"},{"filename":"github.com/monzo/[email protected]/router.go","line":127,"method":"typhon.Router.Serve.func1"},{"filename":"github.com/monzo/[email protected]/errors.go","line":65,"method":"typhon.ErrorFilter"},{"filename":"github.com/monzo/[email protected]/service.go","line":10,"method":"typhon.Service.Filter.func1"},{"filename":"github.com/monzo/[email protected]/server.go","line":82,"method":"typhon.Serve.func1"},{"filename":"github.com/monzo/[email protected]/service.go","line":10,"method":"typhon.Service.Filter.func1"},{"filename":"github.com/monzo/[email protected]/http.go","line":95,"method":"typhon.HttpHandler.func1"},{"filename":"/usr/lib/golang/src/net/http/server.go","line":2042,"method":"http.HandlerFunc.ServeHTTP"},{"filename":"/usr/lib/golang/src/net/http/server.go","line":2843,"method":"http.serverHandler.ServeHTTP"},{"filename":"/usr/lib/golang/src/net/http/server.go","line":1925,"method":"http.(*conn).serve"},{"filename":"/usr/lib/golang/src/runtime/asm_amd64.s","line":1374,"method":"runtime.goexit"}],"retryable":{}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions