Versions + Platform
Description
We initialise Sentry like this as described in the docs:
const { Offline: OfflineIntegration } = require('@sentry/integrations');
const { logger } = require('@sentry/utils');
logger.enable();
Sentry.init({
dsn: '...',
integrations: [new OfflineIntegration()],
});
If I turn off wifi and start the application I see the following log when I force an error from the main process:
Sentry Logger [Error]: Error while sending event: Error: net::ERR_INTERNET_DISCONNECTED
Forcing an error from the main process or from the renderer does not seem to cause an error to be logged to Sentry, even when restarting the application.
EDIT:
Forcing an error from a renderer process gives a different error, but when the machine becomes online:
Sentry Logger [Error]: Error while sending event: Error: net::ERR_NAME_NOT_RESOLVED
Versions + Platform
@sentry/electron@v2.4.0electron@v12.0.9LinuxDescription
We initialise Sentry like this as described in the docs:
If I turn off wifi and start the application I see the following log when I force an error from the main process:
Forcing an error from the main process or from the renderer does not seem to cause an error to be logged to Sentry, even when restarting the application.
EDIT:
Forcing an error from a renderer process gives a different error, but when the machine becomes online: