Skip to content

Commit fa6961d

Browse files
changing logs
1 parent 0d404ce commit fa6961d

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: ' + res.text + FEEDBACK_SLACK_URL });
24+
return reply.status(500).send({
25+
error: 'Slack API error. Status: ' + res.status + ' message: ' + res.message + ' error: ' + res.error,
26+
});
2527
}
2628
return reply.send({ message: res });
2729
} catch (err) {

0 commit comments

Comments
 (0)