1. Home
  2. Docs
  3. Bugfender SDK for web applications
  4. Advanced usage
  5. Send a Crash manually

Send a Crash manually

You can also manually send crash information. Usually you do not want to use this, instead you can just enable the automated crash reporting using the registerErrorHandler option on init().

Bugfender.sendCrash('Crash Title', `Ops, the app crashed, better check what's wrong.`);

Sending a crash will force all logs cached for the current session to be sent, even if log sending is disabled.