Skip to content

fix: improve error message when app credentials are missing#527

Merged
heyitsaamir merged 1 commit into
mainfrom
fix/credentials-error-message
Apr 16, 2026
Merged

fix: improve error message when app credentials are missing#527
heyitsaamir merged 1 commit into
mainfrom
fix/credentials-error-message

Conversation

@heyitsaamir

@heyitsaamir heyitsaamir commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

Updated the error message in App.send() when this.id is not set from "app not started" to "App has no credentials set up" for clarity. The error message was misleading and not very helpful to the user to debug.

Copilot AI review requested due to automatic review settings April 16, 2026 00:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves developer-facing diagnostics in App.send() by changing the thrown error message when the app is missing credentials (specifically when clientId/this.id is unset).

Changes:

  • Updated the thrown error message in App.send() from "app not started" to "App has no credentials set up" when this.id is not set.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/apps/src/app.ts
@heyitsaamir
heyitsaamir force-pushed the fix/credentials-error-message branch from 8745ac5 to e9c4451 Compare April 16, 2026 00:50
@heyitsaamir
heyitsaamir merged commit a2d6a74 into main Apr 16, 2026
7 checks passed
@heyitsaamir
heyitsaamir deleted the fix/credentials-error-message branch April 16, 2026 02:44
@heyitsaamir heyitsaamir mentioned this pull request Apr 16, 2026
heyitsaamir added a commit that referenced this pull request Apr 16, 2026
## Summary
- Merges all changes from `main` since v2.0.7 into `release`
- Sets `version.json` to stable `2.0.8`

### What's included
- **feat:** Sovereign cloud support (GCCH, DoD, China) (#500)
- **feat:** Add missing endpoints — Paged Members, Meeting Notifications
& client gaps (#516)
- **feat:** Graceful stream cancellation on 403 (#513)
- **feat:** GitHub issue analysis → Teams notification workflow (#517)
- **fix:** Improve error message when app credentials are missing (#527)
- **fix:** Surface Graph API error body in GraphError (#524)
- **fix:** Resolve missing deps, broken JSON, type errors, and typos in
CLI templates (#521)
- **fix:** Drain entire queue per flush cycle (#520)
- **fix:** Merge User-Agent headers when cloning HTTP client (#508)
- Dependency bumps: hono, axios, vite, @hono/node-server

## Post-merge
1. Trigger the [release
pipeline](https://dev.azure.com/DomoreexpGithub/Github_Pipelines/_build?definitionId=52&_a=summary)
for `release` with **Public** publish type
2. Bump `version.json` on `main` to `2.0.9-preview.{height}`

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants