Skip to content

Commit 250ba03

Browse files
committed
improve org error message
1 parent 926a784 commit 250ba03

File tree

1 file changed

+2
-1
lines changed
  • packages/app/src/cli/commands/app

1 file changed

+2
-1
lines changed

packages/app/src/cli/commands/app/init.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ export default class Init extends AppLinkedCommand {
108108
if (!matchingOrg) {
109109
throw new AbortError(
110110
`Organization with ID ${flags['organization-id']} not found`,
111-
'Please verify the organization ID and try again. You can find your organization ID in your Dev Dashboard URL: https://dev.shopify.com/dashboard/<organization-id>',
111+
"Run `shopify auth login` to confirm you've selected the right account, and verify your organization ID. " +
112+
'You can find your organization ID in your Dev Dashboard URL: https://dev.shopify.com/dashboard/<organization-id>',
112113
)
113114
}
114115
org = matchingOrg

0 commit comments

Comments
 (0)