Improve error messages with actionable hints across all platforms#40
Merged
Improve error messages with actionable hints across all platforms#40
Conversation
…ints Standardize workspace-missing messages to 'No current workspace set' across auth status and reaction commands. Add recovery hints to workspace-not-found and file-not-found errors. Include timestamp in reaction message-not-found error for debugging.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
Slack (
src/platforms/slack/commands/)auth.ts— Workspace not set now suggests"workspace list"or"auth extract".workspace.ts— Workspace not found includes recovery hint.reaction.ts— Message not found now includestsvalue in error.file.ts— File not found includes hint to check the file ID.Discord / Discordbot (
src/platforms/discord/,src/platforms/discordbot/)server.ts— Server not found suggests"server list"; missing current server suggests"auth extract"or"server switch".client.ts— Channel not found suggests using channel ID or exact channel name.Teams (
src/platforms/teams/)client.ts— Token expired now suggests"auth extract" to refresh.team.ts— Team not found suggests"team list"; missing config/account suggests"auth extract" first.Verified
bun typecheck— clean.bun test src/— 868 pass, 0 fail.bun lint— clean.Summary by cubic
Add actionable recovery hints to user-facing errors across Slack, Discord/Discordbot, and Teams. Standardizes wording for missing workspace/server/team and adds helpful context where needed.
Written for commit 475094e. Summary will update on new commits.