I’m new to sentry, and just opened a trial account.
I’m using it in a Javascript projet, and all I’ve done so far is include this snippet :
<script src="https://cdn.ravenjs.com/3.7.0/raven.min.js"></script>
<script type="text/javascript">
Raven.config('https://**@sentry.io/**').install()
</script>
In my account I get only one issue: unlabeled event, and all of them have this error notice:
There were 2 errors encountered while processing this event
Discarded invalid value for parameter 'exception’
Discarded invalid value for parameter ‘breadcrumb’
The content is valid JSON, the content of values
itself is also valid JSON (see below for an example).
Is there something else I need to do to configure my account properly ? Or am I missing something else ?
Thanks for any help.
Detail of the exception
:
{
"name": "exception",
"value": {
"values": "[{\"type\":\"TypeError\",\"value\":\"d.deselectAll is not a function\",\"stacktrace\":{\"frames\":[{\"filename\":\"https://cdn.ravenjs.com/3.7.0/raven.min.js\",\"lineno\":2,\"colno\":4306,\"function\":\"d\",\"in_app\":false},{\"filename\":\"http://romanel.bible.ch/mbgest2/app.js\",\"lineno\":1,\"colno\":120207,\"function\":\"Ext.EventManager</<.createListenerWrap/m\",\"in_app\":true},{\"filename\":\"http://romanel.bible.ch/mbgest2/app.js line 1 > Function\",\"lineno\":4,\"colno\":10,\"function\":\"anonymous\",\"in_app\":true},{\"filename\":\"http://romanel.bible.ch/mbgest2/app.js\",\"lineno\":1,\"colno\":526492,\"function\":\".onClick\",\"in_app\":true},{\"filename\":\"http://romanel.bible.ch/mbgest2/app.js\",\"lineno\":1,\"colno\":526671,\"function\":\".fireHandler\",\"in_app\":true},{\"filename\":\"http://romanel.bible.ch/mbgest2/app.js\",\"lineno\":1,\"colno\":127213,\"function\":\".fireEvent\",\"in_app\":true},{\"filename\":\"http://romanel.bible.ch/mbgest2/app.js\",\"lineno\":1,\"colno\":460232,\"function\":\".monitor/a.fireEventArgs\",\"in_app\":true},{\"filename\":\"http://romanel.bible.ch/mbgest2/app.js\",\"lineno\":1,\"colno\":459398,\"function\":\".dispatch\",\"in_app\":true},{\"filename\":\"http://romanel.bible.ch/mbgest2/app.js\",\"lineno\":1,\"colno\":111620,\"function\":\".fire\",\"in_app\":true},{\"filename\":\"http://romanel.bible.ch/mbgest2/app.js\",\"lineno\":1,\"colno\":1671236,\"function\":\".onOrdersPrintPdf\",\"in_app\":true}]}}]"
}
}
Content of values
:
[{
"type":"TypeError",
"value":"d.deselectAll is not a function",
"stacktrace":{
"frames":[
{"filename":"https://cdn.ravenjs.com/3.7.0/raven.min.js","lineno":2,"colno":4306,"function":"d","in_app":false},
{"filename":"http://romanel.bible.ch/mbgest2/app.js","lineno":1,"colno":120207,"function":"Ext.EventManager</<.createListenerWrap/m","in_app":true},
{"filename":"http://romanel.bible.ch/mbgest2/app.js line 1 > Function","lineno":4,"colno":10,"function":"anonymous","in_app":true},
{"filename":"http://romanel.bible.ch/mbgest2/app.js","lineno":1,"colno":526492,"function":".onClick","in_app":true},
{"filename":"http://romanel.bible.ch/mbgest2/app.js","lineno":1,"colno":526671,"function":".fireHandler","in_app":true},
{"filename":"http://romanel.bible.ch/mbgest2/app.js","lineno":1,"colno":127213,"function":".fireEvent","in_app":true},
{"filename":"http://romanel.bible.ch/mbgest2/app.js","lineno":1,"colno":460232,"function":".monitor/a.fireEventArgs","in_app":true},
{"filename":"http://romanel.bible.ch/mbgest2/app.js","lineno":1,"colno":459398,"function":".dispatch","in_app":true},
{"filename":"http://romanel.bible.ch/mbgest2/app.js","lineno":1,"colno":111620,"function":".fire","in_app":true},
{"filename":"http://romanel.bible.ch/mbgest2/app.js","lineno":1,"colno":1671236,"function":".onOrdersPrintPdf","in_app":true}
]
}
}]