Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Implement error logging #8

Open
ktsuench opened this issue Jan 4, 2018 · 3 comments
Open

Implement error logging #8

ktsuench opened this issue Jan 4, 2018 · 3 comments

Comments

@ktsuench
Copy link
Member

ktsuench commented Jan 4, 2018

Right now if we log errors or messages they will show up in the console of the dev tools in the browser. This is not what we want as we would not be able to see the messages ourselves unless we are testing.

To best aid a user is to have those messages logged on our server so that we can refer to them when encountering an unexpected issue. Log the issue as well as the logged in user's info so we can find messages related to the user with ease.

Currently I am thinking of having a back end with a REST API hook which we can send messages to and it would write them to logs. We would then be able to access those logs in a dashboard or some form of GUI so we do not have to open the actual file. Is there already a service like this?

@smehtaca
Copy link
Contributor

smehtaca commented Jan 4, 2018

There are services like sentry.io and trackjs.com that provide services like this. They both provide dashboards for this purpose as well as email and slack notifications

@ktsuench
Copy link
Member Author

ktsuench commented Jan 4, 2018

Sounds good, we should look into using them if possible.

@smehtaca
Copy link
Contributor

smehtaca commented Jan 7, 2018

Relevant to our purposes: https://docs.sentry.io/clients/javascript/integrations/react/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants