Modules: app/util/raven/raven-client

Methods


<static> captureXhrError(error)

Used for capturing XHR errors from any of the API Gateways

Parameters:
Name Type Description
error
Source:

<static> getClient()

Gets either the server or browser version of the Raven client Can be called from any isomorphic code

Source:
Returns:
Type
*

configureRavenOnClient(Raven, ravenConfig, buildInfo)

Create/config a raven client for the browser.

Parameters:
Name Type Description
Raven

The javascript raven client

ravenConfig

The nodejs raven config

buildInfo

Will be added to all exceptions to track in which builds the errors are happening

Source:

createClientOnServer(raven, ravenConfig, buildInfo)

Create/config a raven client for nodejs.

Parameters:
Name Type Description
raven

The nodejs raven client

ravenConfig

The nodejs raven config

buildInfo

Will be added to all exceptions to track in which builds the errors are happening

Source:
Returns:
Type
*