Skip to content

Commit a557ff0

Browse files
committed
add error handler
1 parent 201694c commit a557ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ const track = async () => {
246246
[{ text: "Stop Tracking - " + user.tracking_id, callback_data: `stopTracking`, }]]
247247
: []
248248
}
249-
});
249+
}).catch(e => {})
250250
}))
251251
} catch (e) { bot.start() }
252252
}

0 commit comments

Comments
 (0)