josephg / josephg/ShareJS

Improve error handling

Open
#321 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
454
PR merge metrics
No merged PRs in 30d

Description

At the moment there are `console.log` and `console.warn` statements all over the place (here and in livedb). But when trying to debug anything they do not really help.

I suggest to emit events, `error` and `warn`, that get passed in all relevant information to what went wrong to make this actually useful.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.