Skip to content

Stack trace is included in responses #6441

@mcoughlin-bw

Description

@mcoughlin-bw

Describe the bug
I'm receiving stacktrace information in "load" responses despite having CUBEJS_DEV_MODE set to false.

To Reproduce
Steps to reproduce the behavior:

  1. Setup your queryRewrite function to throw an error
  2. Send a request to "load" that hits the queryRewrite function
  3. Check the API response. It will include "stack" information

Expected behavior
Stack information should not be present when CUBEJS_DEV_MODE is set to false.

Version:
0.32.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedCommunity contributions are welcome.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions