Skip to content

Commit ebd41e8

Browse files
committed
Log the bot user that we are logging in as
1 parent 28967eb commit ebd41e8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ client/src/assets/scss/material-dashboard-pro-react.css
99
.npmrc
1010
server/config.js
1111

12-
.env
12+
.env*
1313
logs

server/server.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ function validateEnvironmentVariables() {
3939
async function bootstrapApp() {
4040
const app = express();
4141

42-
LogConfig.info("Attempting to login as the API bot user...");
42+
LogConfig.info(
43+
`Attempting to login as the API bot user '${
44+
process.env.CSGIGS_ROCKET_API_USER
45+
}'...`
46+
);
4347
app.locals.apiAuth = await api.loginAsBot();
4448
LogConfig.info("Logged in as API bot user and have auth details...");
4549

0 commit comments

Comments
 (0)