mirror of
https://github.com/mozilla/fxa.git
synced 2025-12-13 20:36:41 +01:00
chore(profile): Add sentry monitoring to our workers
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// Important! Must be required first to get proper hooks in place.
|
||||
require('../lib/monitoring');
|
||||
|
||||
const config = require('../lib/config').getProperties();
|
||||
const logger = require('../lib/logging')('bin._static');
|
||||
const Server = require('../lib/server/_static');
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// Important! Must be required first to get proper hooks in place.
|
||||
require('../lib/monitoring');
|
||||
|
||||
const logger = require('../lib/logging')('bin.worker');
|
||||
const Server = require('../lib/server/worker');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user