Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@exceptionless/core
Advanced tools
This package contains the default implementations that all other JS clients build upon. You can use it directly but we recommend using one of the packages below which automatically wire up to platform specific error handlers and platform specific plugins.
@exceptionless/angularjs
@exceptionless/browser
@exceptionless/node
@exceptionless/react
@exceptionless/vue
To use this package, your must be using ES6 and support ESM modules.
npm install @exceptionless/core --save
While your app is starting up, you should call startup
on the Exceptionless
client. This ensures the client is configured and automatic capturing of
unhandled errors occurs.
import { Exceptionless } from "@exceptionless/core";
await Exceptionless.startup(c => {
c.apiKey = "API_KEY_HERE";
c.setUserIdentity("12345678", "Blake");
// set some default data
c.defaultData["mydata"] = {
myGreeting: "Hello World"
};
c.defaultTags.push("Example", "JavaScript");
});
Once that's done, you can use the Exceptionless client anywhere in your app by
importing Exceptionless
followed by the method you want to use. For example:
await Exceptionless.submitLog("Hello world!");
Please see the docs for more information on configuring the client.
If you need help, please contact us via in-app support, open an issue or join our chat on Discord. We’re always here to help if you have any questions!
FAQs
JavaScript client for Exceptionless
We found that @exceptionless/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.