mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 22:12:19 +03:00
cleans up reporting
This commit is contained in:
parent
86740a9af7
commit
fd1452316b
@ -46,7 +46,7 @@ export const sendTextileSlackMessage = ({
|
||||
|
||||
try {
|
||||
textileWebhook.send({
|
||||
text: `*File -* ${slackFileURL} \n*Exception —* ${source} _${functionName}_\n*User —* ${userURL}\n\n> ${message}\n\n*Textile error code —* ${code}`,
|
||||
text: `*Source code —* ${slackFileURL} \n*Source client —* ${source} \n*Callsite —* \`${functionName}\`\n*User —* ${userURL}\n\n> ${message}\n\n*Textile error code —* ${code}`,
|
||||
});
|
||||
} catch (e) {
|
||||
console.log({ decorator: "SLACK_MESSAGE_FAILURE", message });
|
||||
|
Loading…
Reference in New Issue
Block a user