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

fix: Display error w/o token on auth failure #6576

Merged
merged 10 commits into from
Mar 31, 2021
Merged

fix: Display error w/o token on auth failure #6576

merged 10 commits into from
Mar 31, 2021

Conversation

GeoffCoxMSFT
Copy link
Member

Description

getSubscriptions was failing silently. Error on page indicated empty list rather than error.
Now error shows up on page. Bearer token is excluded from error message and logger file.

Task Item

fixes #6359

Screenshots

@coveralls
Copy link

coveralls commented Mar 26, 2021

Coverage Status

Coverage remained the same at 52.059% when pulling 2139053 on gcox/fix6359 into 586d33d on main.

hatpick
hatpick previously approved these changes Mar 27, 2021
@@ -885,7 +903,7 @@ export const AzureProvisionDialog: React.FC = () => {
onClick={() => {
setPage(PageTypes.ReviewResource);
setTitle(DialogTitle.REVIEW);
let selectedResources = enabledResources.slice();
let selectedResources = requireResources.concat(enabledResources);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: [...arr1, ...arr2]

hatpick
hatpick previously approved these changes Mar 31, 2021
@GeoffCoxMSFT GeoffCoxMSFT merged commit c96f912 into main Mar 31, 2021
@GeoffCoxMSFT GeoffCoxMSFT deleted the gcox/fix6359 branch March 31, 2021 22:14
@cwhitten cwhitten mentioned this pull request May 20, 2021
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* Display error w/o token on auth failure

* Fixed mounted checks

Co-authored-by: Ben Brown <benbro@microsoft.com>
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.

if access token is invalid, provision process fails silently when loading subscriptions
4 participants