Skip to content

Commit

Permalink
Regression: Fix double error toast on Setup Wizard (#15268)
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan authored and rodrigok committed Aug 28, 2019
1 parent eb32fce commit e7f770c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const registerAdminUser = async ({ name, username, email, password, onRegistrati
onRegistrationEmailSent && onRegistrationEmailSent();
return;
}

handleError(error);
throw error;
}

Expand Down Expand Up @@ -100,7 +100,6 @@ export function AdminUserInformationStep({ step, title }) {
goToNextStep();
} catch (error) {
console.error(error);
handleError(error);
} finally {
setCommiting(false);
}
Expand Down
18 changes: 3 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e7f770c

Please sign in to comment.