Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include business platform ID in bugsnag info #5136

Open
wants to merge 1 commit into
base: report-BP-id-to-analytics
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli-kit/src/public/node/error-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
}
const errorHandler = (error: unknown) => {
if (error) {
reject(error)

Check warning on line 130 in packages/cli-kit/src/public/node/error-handler.ts

View workflow job for this annotation

GitHub Actions / ESLint Report Analysis

packages/cli-kit/src/public/node/error-handler.ts#L130

[@typescript-eslint/prefer-promise-reject-errors] Expected the Promise rejection reason to be an Error.
} else {
resolve(reportableError)
}
Expand Down Expand Up @@ -228,7 +228,7 @@
const commandData = {} as {[key: string]: unknown}
const environmentData = {} as {[key: string]: unknown}
const miscData = {} as {[key: string]: unknown}
const appKeys = ['api_key', 'partner_id', 'project_type']
const appKeys = ['api_key', 'business_platform_id', 'partner_id', 'project_type']
const commandKeys = ['command']
const environmentKeys = ['cli_version', 'node_version', 'uname']

Expand Down
Loading