Skip to content

Commit 8d91ca2

Browse files
committed
refactor: replace console logs with app logger outputs
1 parent 122509c commit 8d91ca2

File tree

1 file changed

+2
-2
lines changed
  • examples/socket-mode-oauth

1 file changed

+2
-2
lines changed

examples/socket-mode-oauth/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ const app = new App({
1515
(async () => {
1616
try {
1717
await app.start(process.env.PORT);
18-
console.log('⚡️ Bolt app is running! ⚡️');
18+
app.logger.info('⚡️ Bolt app is running! ⚡️');
1919
} catch (error) {
20-
console.error('Unable to start App', error);
20+
app.logger.error('Unable to start App', error);
2121
process.exit(1);
2222
}
2323
})();

0 commit comments

Comments
 (0)