Commit graph

12 commits

Author SHA1 Message Date
Jenni Nurmi
55b043bb7b Update Sentry 2019-08-23 12:05:11 +03:00
Jenni Nurmi
d8bf1c926c Update Sentry DSN related env variables and docs 2019-01-17 10:29:39 +02:00
Jenni Nurmi
21029f549e Use new Sentry SDKs insted of Raven 2019-01-17 10:29:33 +02:00
Hannu Lyytikainen
89883b8e8a Remove occurrences of 'Starter App' 2018-05-04 17:04:41 +03:00
Kimmo Puputti
ca510877b6 Log code and data as well 2018-01-18 14:08:27 +02:00
Hannu Lyytikainen
ce07746bee Add runtime environment variable
Add a variable that can be used to differentiate between dev, staging
and production environments.
2017-11-16 18:31:31 +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
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
d46e4cdfc5 Return empty request and error handlers
In case Sentry is not set up, empty request and error handler functions
are returned instead of nulls.
2017-10-04 13:15:10 +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
8a595eda4e Add Sentry integration for the server 2017-10-04 13:12:47 +03:00