Skip to content

Am not able to convert in to non minified response from minified in componentDidCatch #213

@midhun8454

Description

@midhun8454

Expected Behavior

I have the error param in componentDidCatch,that is
componentDidCatch(error, errorInfo) {log(error)//min.error}
but that console.log is minified response,i want the same in non minified response,so that all developers can understand thr root cause.

Current Behavior

having minified response only
-> I installed stacktrace via npm
->import StackTrace from 'stacktrace-js'
->used StackTrace.fromError(error)-> but that is agin minified response

Your Environment

  • stacktrace.js version:latest
    *Script using:React
  • Browser Name and version:all
  • Operating System and version (desktop or mobile):mac

I am kind of stuck,please help @eriwen

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