Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely committed Oct 24, 2024
1 parent 196353a commit 67fc094
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,12 @@ const listenDaemonOnContainerIpAddrUsingFastify = async (fastify, PORT, messageO
});

try {
console.log( 'fastify.listen(', PORT, containerIpAddress, ')' );
await fastify.listen(PORT, containerIpAddress);
console.log(messageOnListening);
}
catch (err) {
console.log( 'fastify.listen error ' );
fastify.log.error(err);
process.exit(1);
}
Expand Down

0 comments on commit 67fc094

Please sign in to comment.