Skip to content
This repository was archived by the owner on Sep 17, 2020. It is now read-only.
This repository was archived by the owner on Sep 17, 2020. It is now read-only.

EventEmitter #2

@qzaidi

Description

@qzaidi

Can we convert this to event emitter, so I can handle errors myself. Right now, if amon is down, it prints console.log messages

Error sending log data to Amon on /api/log/XXXXXX
Please make sure that the web application is running on YYYYY

Instead, it can emit an error and I may just chose to log the original error message in my error handler.

I am willing to take this up if you can merge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions