Commit graph

7 commits

Author SHA1 Message Date
Kimmo Puputti
bf6e7ed6de Log also code and data 2018-01-04 12:18:55 +02:00
Hannu Lyytikainen
de5ec59119 Add error codes
An error code can be passed to logger. This code gets added to the
Sentry error report as a tag and can be used to search this specific
error.
2017-10-04 13:17:43 +03:00
Hannu Lyytikainen
e5a62a24ef Improve logging 2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
09f4fc9b9d Improve comments for Sentry client setup 2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
a75615707b Remove Sentry config from logger setup functions
The Sentry DSN key and environment are read from environment
parameters/config in the logger modules.
2017-10-04 13:16:28 +03:00
Hannu Lyytikainen
1882e25d00 Equalize logger setup in server and browser
Set up logger in the server side with the same parameters as in the
browser and clean the environment variables out of the server/log.js
file.

Code commenting improved.
2017-10-04 13:15:10 +03:00
Hannu Lyytikainen
e37a0be42a Add Sentry integration to the browser application 2017-10-04 13:11:50 +03:00