Skip to content

Commit

Permalink
Use a more error like emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
ericallam committed May 7, 2024
1 parent 2c1b3e0 commit 9d988dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/webapp/app/v3/services/alerts/deliverAlert.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,13 +489,13 @@ export class DeliverAlertService extends BaseService {
const message = await client.chat.postMessage({
thread_ts,
channel: slackProperties.data.channelId,
text: `:warning: Task error in ${alert.taskRunAttempt.backgroundWorkerTask.exportName} [${alert.taskRunAttempt.backgroundWorker.version}.${alert.environment.slug}]`,
text: `Task error in ${alert.taskRunAttempt.backgroundWorkerTask.exportName} [${alert.taskRunAttempt.backgroundWorker.version}.${alert.environment.slug}]`,
blocks: [
{
type: "section",
text: {
type: "mrkdwn",
text: `:warning: Error in *${exportName}* _<!date^${Math.round(
text: `:rotating_light: Error in *${exportName}* _<!date^${Math.round(
timestamp.getTime() / 1000
)}^at {date_num} {time_secs}|${timestamp.toLocaleString()}>_`,
},
Expand Down Expand Up @@ -604,7 +604,7 @@ export class DeliverAlertService extends BaseService {
type: "section",
text: {
type: "mrkdwn",
text: `:warning: Deployment failed *${version}.${environment}* _<!date^${Math.round(
text: `:rotating_light: Deployment failed *${version}.${environment}* _<!date^${Math.round(
timestamp.getTime() / 1000
)}^at {date_num} {time_secs}|${timestamp.toLocaleString()}>_`,
},
Expand Down

0 comments on commit 9d988dc

Please sign in to comment.