Skip to content

Commit

Permalink
[PRMP-620] Add a log to verify node version change
Browse files Browse the repository at this point in the history
  • Loading branch information
joefong-nhs committed Jul 26, 2024
1 parent 4d13fdd commit 38028ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/server.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import app from './app';
import { logInfo } from './middleware/logging';

app.listen(3000, () => logInfo('Listening on port 3000'));
app.listen(3000, () => {
logInfo('Listening on port 3000');
logInfo(`Running with nodejs version: ${process.versions.node}`);
});

0 comments on commit 38028ce

Please sign in to comment.