{"record":{"id":"233023a2d6b5ce3d","repo":"ruvnet/ruflo","slug":"webhook-url-report-assistant-is-not-set-tried-to","errorCode":null,"errorMessage":"WEBHOOK_URL_REPORT_ASSISTANT is not set, tried to send a slack message.","messagePattern":"WEBHOOK_URL_REPORT_ASSISTANT is not set, tried to send a slack message\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"ruflo/src/ruvocal/src/lib/server/sendSlack.ts","lineNumber":6,"sourceCode":"import { config } from \"$lib/server/config\";\nimport { logger } from \"$lib/server/logger\";\n\nexport async function sendSlack(text: string) {\n\tif (!config.WEBHOOK_URL_REPORT_ASSISTANT) {\n\t\tlogger.warn(\"WEBHOOK_URL_REPORT_ASSISTANT is not set, tried to send a slack message.\");\n\t\treturn;\n\t}\n\n\tconst res = await fetch(config.WEBHOOK_URL_REPORT_ASSISTANT, {\n\t\tmethod: \"POST\",\n\t\theaders: {\n\t\t\t\"Content-type\": \"application/json\",\n\t\t},\n\t\tbody: JSON.stringify({\n\t\t\ttext,\n\t\t}),\n\t});\n\n\tif (!res.ok) {\n\t\tlogger.error(`Webhook message failed. ${res.statusText} ${res.text}`);\n\t}\n}\n","sourceCodeStart":1,"sourceCodeEnd":24,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/ruflo/src/ruvocal/src/lib/server/sendSlack.ts#L1-L24","documentation":"Log warning in sendSlack: WEBHOOK_URL_REPORT_ASSISTANT is not configured, so there is no Slack webhook to POST to; the notification is silently dropped (early return) rather than failing the caller.","triggerScenarios":"Thrown at ruflo/src/ruvocal/src/lib/server/sendSlack.ts:6 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set WEBHOOK_URL_REPORT_ASSISTANT to a Slack webhook URL, or remove the code path that sends the Slack message."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}