1.0.6 • Published 4 years ago

@aswathpandiyan/error-boy v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 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

4 years ago

1.0.1

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago