Skip to content

Commit 8029e27

Browse files
committed
catching error with logError
1 parent e2e31f0 commit 8029e27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers/messages/removeLinks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ const removeLinks = async ({ message, chat, reply, state }, next) => {
9494
isGroupAd = true;
9595
}
9696
} catch (err) {
97-
console.assert(err);
97+
logError(err);
9898
}
9999
})
100100
: '');

0 commit comments

Comments
 (0)