← Changelog/JavaScript

Fix transport selection in Electron

JavaScript @appsignal/javascript 1.3.27·Nov 6, 2023

Attempt to import the http and https module dynamically. This fixes an issue with Electron, which does not expose the https module.

Emit a warning if NodeTransport is used but the https module fails to be imported.

This allows Electron users to use the AppSignal integration alongside with the electron-fetch library.

See the @appsignal/javascript 1.3.27 changelog for more information.

$appsignal install

Make your next crash make sense.

Free for 30 days. No credit card. Two-minute install.