message: Better handle cancellation
diff: @@ -216,14 +216,19 @@ export class App {
  if (cancelled) {
  return;
  }
  - this.digitalOceanRetry(() => doSession.getAccount())
  - .then((account) => {
  + this.digitalOceanRetry(() => {
  + if (cancelled) {
  + return Promise.reject("Authorization cancelled");
  + }
  + return doSession.getAccount();
  + }).then((account) => {
  events.dispatchEvent(new CustomEvent('account-update', { detail: account }));
  - })
  - .catch((error) => {
  + }).catch((error) => {
  + if (!cancelled) {
  this.appRoot.hideModalDialog();
  this.showIntro();
  this.displayError('Failed to get DigitalOcean account information', error);
  + }
  });
  };
  