Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
sendCrashReport() {
try {
throw new Error('Text Handled Exception From Instabug Test App');
} catch (Exception) {
CrashReporting.reportJSException(Exception);
alert('Crash report Sent!');
}
}