Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 222 Bytes

sentry-usage.md

File metadata and controls

11 lines (9 loc) · 222 Bytes

Sentry usage

# capturing errors
try {
  aFunctionThatMightFail()
} catch (err) {
  Sentry.captureException(err)
}

# capturing messages
Sentry.captureMessage("Something went wrong");