We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 367d8bc + 847f04c commit be417a9Copy full SHA for be417a9
1 file changed
src/backend/src/services/design-reviews.services.ts
@@ -207,7 +207,10 @@ export default class DesignReviewsService {
207
}
208
} catch (err: unknown) {
209
if (err instanceof Error) {
210
- throw new HttpException(500, `Failed to send slack notification: ${err.message}`);
+ if (!err.message.includes('channel_not_found') && !err.message.includes('is_archived')) {
211
+ // don't throw if slack id not found because sometimes users put the wrong slack id in or leave workspace
212
+ throw new HttpException(500, `Failed to send slack notification: ${err.message}`);
213
+ }
214
215
216
0 commit comments