Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

errsole

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

errsole

Error Logger and Remote Debugger

  • 1.6.1
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
457
decreased by-27.23%
Maintainers
1
Weekly downloads
 
Created
Source

Fix Your Node.js Errors in Minutes

Errsole is an error logger and remote debugger for Node.js apps. With Errsole, you can view the root cause of every error, reproduce any error with just a click, and debug the server code without affecting the live app and its users.

release last commit issues license


Features

Error Logging

Errsole captures and saves all errors that occur in your app across all servers and environments.

  • Centralized error logging
  • Errors
  • Uncaught exceptions
  • 5xx server errors
  • Error grouping

Request Logging

In addition to capturing errors, Errsole also captures the corresponding HTTP requests that caused the errors.

  • HTTP requests that caused errors
  • HTTP requests that caused uncaught exceptions
  • HTTP requests with 5xx error responses

Error Reproduction

Errsole starts a sandbox app on your server, which is a clone of your live app. Within this sandbox app, you can reproduce errors and inspect every line of the code without affecting the live app.

  • Reproduce errors
  • Reproduce uncaught exceptions
  • Reproduce 5xx server errors
  • Your live app is unaffected
  • Your app users are unaffected

Remote Debugging

With a feature-rich debugger directly connected to a sandbox app, you can set breakpoints, reproduce errors, inspect variables, and verify the fixes - all without affecting your live app.

  • Set breakpoints
  • Inspect variables
  • Verify the fixes
  • Your live app is unaffected
  • Your app users are unaffected

Getting Started

Install

Errsole is a Node.js module. You can install this module using the npm install command:

npm install errsole

Configure

You must obtain a unique token to configure the Errsole module in your app.

Follow the steps below to generate a unique token:

  1. Click on the button below to go to the Errsole website.
  2. Create an Errsole account or sign in with an existing one.
  3. Create an entry for your app.
  4. Copy the code snippet generated for your app, which includes a unique token.
  5. Insert the code snippet as the first line of your app's main file.
  6. Deploy your app as usual. Once deployed, Errsole will start capturing errors and associating them with your app's entry in the Errsole platform.

Setup Errsole

Example

/**
 * Insert this Errsole code snippet as the first line of your app's main file
 */
const errsole = require('errsole');
errsole.initialize({
  framework: 'express',
  token: '[Your Errsole Token]'
});
// End of Errsole code snippet

/**
 * Your app code starts here
 */
const express = require('express');
const app = express();

app.get('/', function (req, res) {
  res.send('Hello World');
});

app.listen(3000);

Try Live Demo

Experience Errsole firsthand by troubleshooting errors in our demo app:

Try Live Demo


Documentation

For a complete product documentation, please visit our documentation page:

https://www.errsole.com/documentation/


Support

If you run into any issues, please email us at support@errsole.com.

For bug reports, please open an issue on GitHub.

Keywords

FAQs

Package last updated on 18 Oct 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc