Skip to main content

🥷 Silent bug reports

Sometimes you know that something went wrong, but don't want to bother your users. In this case you might want to send a silent bug report by calling the following method:

// Sends a silent crash report.
Gleap.sendSilentCrashReport({
description: "Houston, we have a problem!",
severity: "MEDIUM",
dataExclusion: {
screenshot: true;
replays: true;
}
});

The priority must be "LOW", "MEDIUM" or "HIGH".

The third parameter specifies the exclude data options. All options set to true, will be excluded from a silent crash report.

The full list of exclude data options is:

{
customData?: Boolean;
metaData?: Boolean;
attachments?: Boolean;
consoleLog?: Boolean;
networkLogs?: Boolean;
customEventLog?: Boolean;
screenshot?: Boolean;
replays?: Boolean;
}
info

Silent bug reports can also be automatically triggered in combination with our crash detector.