Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3389820
D12126.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
745 B
Referenced Files
None
Subscribers
None
D12126.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12126: [web] Show generic Alert if an error occurs during QR code auth
Attached
Detach File
Event Timeline
Log In to Comment