import * as Sentry from '@sentry/browser' ; export function reportError ( error ) { Sentry . captureException ( error ) ; } export function reportException ( message ) { Sentry . captureException ( message ) ; } export function reportMessage ( message ) { Sentry . captureMessage ( message ) ; } export function reportContext ( key , value ) { Sentry . configureScope ( scope => { scope . setTag ( key , value ) ; } ) ; }