chore(profile): Add sentry monitoring to our workers

This commit is contained in:
dschom
2025-12-05 11:17:07 -08:00
parent 922acd7994
commit fbad10fffc
2 changed files with 6 additions and 0 deletions

View File

@@ -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');

View File

@@ -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');