1.0.6 • Published 5 years ago

@aswathpandiyan/error-boy v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

error-boy

A node library to push production errors into Google Chat.

Installation

requires Node.js to run.

Install the dependencies and devDependencies and start the server.

$ cd project
$ npm install error-boy --save

Import Library

index.js

const errorBoy = require("error-boy");
const webhookURL = "https://chat.googleapis.com/v1/XXXXXXXXXXXXXXXXXXXXXXX";

errorBoy.init(webhookURL);

try {
  throw new Error("Invalid function");
} catch (err) {
  errorBoy.log(err.message)
}

rename webhookURL to your google chat webhook.

what is webhookURL

1.0.2

5 years ago

1.0.1

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.0

5 years ago