Page MenuHomePhabricator

D12126.diff
No OneTemporary

D12126.diff

diff --git a/web/account/qr-code-login.react.js b/web/account/qr-code-login.react.js
--- a/web/account/qr-code-login.react.js
+++ b/web/account/qr-code-login.react.js
@@ -23,6 +23,7 @@
import { getMessageForException } from 'lib/utils/errors.js';
import css from './qr-code-login.css';
+import Alert from '../modals/alert.react.js';
import VersionUnsupportedModal from '../modals/version-unsupported-modal.react.js';
import {
base64DecodeBuffer,
@@ -100,6 +101,8 @@
messageForException === 'Unsupported version'
) {
pushModal(<VersionUnsupportedModal />);
+ } else {
+ pushModal(<Alert title="Unknown error">Uhh... try again?</Alert>);
}
void generateQRCode();
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 8:41 PM (22 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2602358
Default Alt Text
D12126.diff (745 B)

Event Timeline