MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / getErrorChannel

Function getErrorChannel

server/src/db/system-settings-db.ts:271–274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269 * Get the configured error notification Slack channel
270 */
271export async function getErrorChannel(): Promise<ErrorChannelSetting> {
272 const result = await getSetting<ErrorChannelSetting>(SETTING_KEYS.ERROR_SLACK_CHANNEL);
273 return result ?? { channel_id: null, channel_name: null };
274}
275
276/**
277 * Set the error notification Slack channel

Callers 4

getSystemChannelRoleFunction · 0.85
getCachedErrorChannelFunction · 0.85
gatherConfiguredChannelsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected