Closed Bug 1098241 Opened 10 years ago Closed 9 years ago

Write a message to sentry when the server start to check up that everything is working properly.

Categories

(Hello (Loop) :: Server, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alexis+bugs, Assigned: leplatrem)

Details

Attachments

(1 file)

56 bytes, text/x-github-pull-request
alexis+bugs
: review+
Details | Review
When the server starts up, we could send a message to sentry in order to know that the connection is successful.

Here is a small script that can do it otherwise:

> CONFIG_FILES=/data/loop-server/config/settings.json NODE_ENV=stage node -p "var conf=require('./loop/config').conf; var raven=require('raven'); var ravenClient = new raven.Client(conf.get('sentryDSN')); ravenClient.captureError(new Error('server is able to communicate with sentry'));
Attached file PR on Github
Attachment #8542579 - Flags: review?(rhubscher)
Attachment #8542579 - Flags: review?(alexis+bugs)
Comment on attachment 8542579 [details] [review]
PR on Github

I am letting Alexis reviewing this one. It looks good.
Attachment #8542579 - Flags: review?(rhubscher)
Assignee: nobody → mathieu
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: