Skip to content
Snippets Groups Projects
Unverified Commit 6919b0a4 authored by Pierre-Yves B's avatar Pierre-Yves B Committed by GitHub
Browse files

Tidy up server imports (#6937)

parent 8fd54b1b
No related branches found
No related tags found
No related merge requests found
/* eslint-disable import/order */
import fs from 'fs' import fs from 'fs'
import path from 'path' import path from 'path'
import { fileURLToPath } from 'url' import { fileURLToPath } from 'url'
// Set up Sentry reporting as early in the process as possible.
import configModule from 'config' import configModule from 'config'
import Sentry from '@sentry/node' import Sentry from '@sentry/node'
import Server from './core/server/server.js' import Server from './core/server/server.js'
// Set up Sentry reporting as early in the process as possible.
const config = configModule.util.toObject() const config = configModule.util.toObject()
const disabledIntegrations = ['Console', 'Http'] const disabledIntegrations = ['Console', 'Http']
Sentry.init({ Sentry.init({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment