Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2845490
D13430.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13430.diff
View Options
diff --git a/lib/push/crypto.js b/lib/push/crypto.js
--- a/lib/push/crypto.js
+++ b/lib/push/crypto.js
@@ -85,7 +85,7 @@
encryptionOrder,
};
} catch (e) {
- console.log('Notification encryption failed: ' + e);
+ console.log('Notification encryption failed', e);
const resultPayload = {
encryptionFailed: '1',
...unencryptedPayload,
@@ -189,7 +189,7 @@
encryptionOrder,
};
} catch (e) {
- console.log('Notification encryption failed: ' + e);
+ console.log('Notification encryption failed', e);
const unencryptedNotification = { ...notification, encryptionFailed: '1' };
return {
notification: unencryptedNotification,
@@ -259,7 +259,7 @@
encryptionOrder,
};
} catch (e) {
- console.log('Notification encryption failed: ' + e);
+ console.log('Notification encryption failed', e);
const unencryptedNotification = { ...notification, encryptionFailed: '1' };
return {
notification: unencryptedNotification,
@@ -396,7 +396,7 @@
encryptionOrder,
};
} catch (e) {
- console.log('Notification encryption failed: ' + e);
+ console.log('Notification encryption failed', e);
return {
...basicPayload,
encryptionFailed: '1',
diff --git a/lib/push/send-utils.js b/lib/push/send-utils.js
--- a/lib/push/send-utils.js
+++ b/lib/push/send-utils.js
@@ -998,7 +998,7 @@
// session creation may fail for some devices
// but we should still pursue notification
// delivery for others
- console.log(e);
+ console.log('Olm session creation failed', e);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 30, 9:29 PM (18 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2203341
Default Alt Text
D13430.diff (1 KB)
Attached To
Mode
D13430: [native] Improve logging for thick threads notifs
Attached
Detach File
Event Timeline
Log In to Comment