Skip to content
New issue

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

[Feature Request] Option to suppress trace for production in lambda for unhandled exception #189

Open
2 tasks
hidden-dimensions opened this issue Mar 9, 2018 · 0 comments

Comments

@hidden-dimensions
Copy link

When an uncatched exception occur in lambda, the following payload is return to client:

{
    "error": {
        "name": "UnexpectedError",
        "code": 10000,
        "message": "__The exception message__",
        "info": {
            "trace": "Traceback (most recent call last):\n...."
        }
    }
}

This is useful for staging but may be a security concern for production environment. Suggest to provide an option to suppress the trace field.

  • Skygear Server Date/Version:
  • Application Platform:
  • Is this a regression?
  • Attached logs, screenshots

Expected Results

Actual Results

Steps to reproduce

@hidden-dimensions hidden-dimensions changed the title Option to suppress trace for production in lambda for unhandled exception [Feature Request] Option to suppress trace for production in lambda for unhandled exception Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant