• Robert Knight's avatar
    Refactor the arguments to raven.report() · bf2fb20f
    Robert Knight authored
    Put the Error first as the most important argument, followed
    by a string describing when the error happened, followed by optional
    context information.
    
    This also reduces unnecessary nesting in the 'extra' field
    of the captured exception that is sent to Sentry.
    bf2fb20f
raven.js 3.21 KB