You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Skip asking if users have sentry account if --org and --project flags were passed (#817)
If users pass in `--org` and `--project` slugs, there's no need to ask them if they already created a sentry account, as they otherwise wouldn't even have any of this information.
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
## Unreleased
4
4
5
5
- ref: Set wizard version at build time ([#827](https://github.com/getsentry/sentry-wizard/pull/827))
6
+
- fix: Skip asking if users have sentry account if `--org` and `--project` flags were passed ([#817](https://github.com/getsentry/sentry-wizard/pull/817))
clack.log.error('Loading Wizard failed. Did you provide the right URL?');
1060
-
clack.log.info(JSON.stringify(e,null,2));
1061
-
awaitabort(
1062
-
chalk.red(
1063
-
'Please check your configuration and try again.\n\n Let us know if you think this is an issue with the wizard or Sentry: https://github.com/getsentry/sentry-wizard/issues',
1064
-
),
1065
-
);
1066
-
}else{
1067
-
clack.log.error('Loading Wizard failed.');
1068
-
clack.log.info(JSON.stringify(e,null,2));
1069
-
awaitabort(
1070
-
chalk.red(
1071
-
'Please try again in a few minutes and let us know if this issue persists: https://github.com/getsentry/sentry-wizard/issues',
`Loading Wizard failed. Did you provide the right URL? (url: ${reqUrl})`,
1145
+
);
1146
+
clack.log.info(JSON.stringify(e,null,2));
1147
+
awaitabort(
1148
+
chalk.red(
1149
+
'Please check your configuration and try again.\n\n Let us know if you think this is an issue with the wizard or Sentry: https://github.com/getsentry/sentry-wizard/issues',
1150
+
),
1151
+
);
1152
+
}else{
1153
+
clack.log.error('Loading Wizard failed.');
1154
+
clack.log.info(JSON.stringify(e,null,2));
1155
+
awaitabort(
1156
+
chalk.red(
1157
+
'Please try again in a few minutes and let us know if this issue persists: https://github.com/getsentry/sentry-wizard/issues',
1158
+
),
1159
+
);
1160
+
}
1161
+
}
1162
+
1163
+
// We don't get here as we abort in an error case but TS doesn't know that
0 commit comments