Skip to content

Commit 23fefef

Browse files
feat: Bugfix/feedback on staging and canary (#181)
1 parent 1edda45 commit 23fefef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server/routes/feedback.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ async function feedbackRoute(fastify) {
2121
});
2222

2323
if (!res.ok) {
24-
return reply.status(500).send({ error: 'Slack API error' });
24+
return reply.status(500).send({
25+
error: `Slack API error. Status: ${res.status}${res.message ? ` | Message: ${res.message}` : ''}${res.error ? ` | Error: ${res.error}` : ''}`,
26+
});
2527
}
2628
return reply.send({ message: res });
2729
} catch (err) {

0 commit comments

Comments
 (0)