Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "We've encountered a *new error*:"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "```{{errorMessage}}```"
}
},
{
"type": "divider"
},
{
"type": "context",
"elements": [
{
"type": "image",
"image_url": "https://cdn-icons-png.flaticon.com/512/1077/1077012.png",
"alt_text": "retool user"
},
{
"type": "mrkdwn",
"text": "*{{userEmail}}* @ {{exactDateTime}}"
}
]
},
{
"type": "divider"
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Operating system:*\n{{os}}"
},
{
"type": "mrkdwn",
"text": "*Browser:*\n{{browserName}}"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Source:*\n{{errorSource}}"
},
{
"type": "mrkdwn",
"text": "*Resource type:*\n{{errorResourceType}}"
}
]
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "*Failed query:*\n`{{triggerQuery}}`"
},
{
"type": "mrkdwn",
"text": "*Failed in:*\n{{errorResourceTimeMs}} (ms)"
}
]
},
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*{{appName}}* app"
},
"accessory": {
"type": "button",
"text": {
"type": "plain_text",
"text": "Open in Retool",
"emoji": true
},
"value": "open_in_retool",
"url": "{{appUrl}}",
"action_id": "button-action"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment