Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

throw "foobar" is not handled properly #56

Open
vmihailenco opened this issue Nov 29, 2013 · 1 comment
Open

throw "foobar" is not handled properly #56

vmihailenco opened this issue Nov 29, 2013 · 1 comment

Comments

@vmihailenco
Copy link

I have such code:

<script>
TraceKit.report.subscribe(function yourLogger(errorReport) {
  console.log(errorReport);
});
</script>
<script>
try {
  throw 'foobar';
} catch(exc) {
  TraceKit.report(exc);
}
</script>

which is not handled properly, because errorReport.message == undefined. Is it done intentionally?

@niemyjski
Copy link
Collaborator

@vmihailenco I'm helping maintain TraceKit upstream.. If you want to recreate this issue in the master (https://github.com/csnover/TraceKit). We'll see if we can get this fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants