Skip to content

Commit 5eea02b

Browse files
nickwesselmandmerand
authored andcommitted
improve org error message
1 parent 81e1ba5 commit 5eea02b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/app/src/cli/commands/app

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)