Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
style: use fastify logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmeyer committed Sep 1, 2020
1 parent 237c1a9 commit a89c1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fastify.register(app)

fastify.listen(port, ip, (err) => {
if (err) {
console.log(err)
fastify.log.error(err)
process.exit(1)
}
})

0 comments on commit a89c1d1

Please sign in to comment.