mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 14:13:02 -04:00
load environment before logging
This commit is contained in:
parent
656b834d32
commit
f5b8136ce6
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -1,11 +1,11 @@
|
||||||
const { ClusterManager } = require('detritus-client');
|
const { ClusterManager } = require('detritus-client');
|
||||||
const superagent = require('superagent')
|
const superagent = require('superagent')
|
||||||
|
|
||||||
const { basecamp, formatErrorMessage } = require('#logging');
|
|
||||||
|
|
||||||
// Configure environment
|
// Configure environment
|
||||||
require('dotenv').config();
|
require('dotenv').config();
|
||||||
|
|
||||||
|
const { basecamp, formatErrorMessage } = require('#logging');
|
||||||
|
|
||||||
const time = Date.now();
|
const time = Date.now();
|
||||||
const token = process.env.token;
|
const token = process.env.token;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue