Sapper: Interactive stack traces

Created on 20 Dec 2017  路  3Comments  路  Source: sveltejs/sapper

In dev mode, it'd be nice if the stack trace contained links that took you to the lines in question. (In prod mode maybe we don't want to show the stack trace?)

enhancement error handling stale

Most helpful comment

something like this would help me:

sapper.start({
    target: document.body,
    onError: (e) => {
        // my custom sentry/bugsnag/someotherthing error handling logic
    }
})

if i had just a little bit more frontend/typescript/-add swapper core technologies here- experience i would try to add this feature, but for that to happen, we have to wait some more weeks ^^

All 3 comments

Is there an onerror hook. Connecting a tool like rollbar, sentry, or bugsnag is important IMO. An error hook would allow sending better error reports

something like this would help me:

sapper.start({
    target: document.body,
    onError: (e) => {
        // my custom sentry/bugsnag/someotherthing error handling logic
    }
})

if i had just a little bit more frontend/typescript/-add swapper core technologies here- experience i would try to add this feature, but for that to happen, we have to wait some more weeks ^^

Closing as the proposal is no longer relevant for kit

Was this page helpful?
0 / 5 - 0 ratings

Related issues

freedmand picture freedmand  路  4Comments

benmccann picture benmccann  路  3Comments

keyvan-m-sadeghi picture keyvan-m-sadeghi  路  4Comments

UnwrittenFun picture UnwrittenFun  路  4Comments

jhuettinger picture jhuettinger  路  3Comments