Node.js SDK
Node.js SDK
Installation
npm install @techsea/allstack-nodeUsage
const AllStack = require("@techsea/allstack-node");
const allstack = new AllStack({
environment: "production",
tags: ["your-tags"],
apiKey: "your_api_key",
});
try {
throw new Error("This is a test error .");
} catch (error) {
allstack.captureException(error);
console.error("Captured error:", error.message);
}Configuration Options
Last updated