Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
fix: dont log channel url (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmulford authored Jul 6, 2021
1 parent 027adfd commit 686c39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/postMessageHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = async function postMessage({ blocks, channel = null, text, chan
try {
await fetch(channelUrl, postOptions(blocks, text, channel));
} catch (e) {
console.error(`Channel not found at URL: ${channelUrl}`, e);
console.error(`Channel not found:`, e);
}

return response;
Expand Down

0 comments on commit 686c39a

Please sign in to comment.