mirror of
https://github.com/block/buzz.git
synced 2026-11-25 10:42:26 +00:00
fix(mobile): name the switched-to member from storage and drop additional data
Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@localhost> Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
@@ -97,6 +97,19 @@ void main() {
|
||||
)).message?.formatted,
|
||||
'failed https://e.org/p and wss://r.org/x',
|
||||
),
|
||||
(
|
||||
'an event without a message gets none',
|
||||
() async => (await event(SentryEvent())).message,
|
||||
null,
|
||||
),
|
||||
(
|
||||
'additional data is dropped',
|
||||
() async => (await event(
|
||||
// ignore: deprecated_member_use
|
||||
SentryEvent(extra: {'body': 'private-marker'}),
|
||||
)).extra, // ignore: deprecated_member_use
|
||||
null,
|
||||
),
|
||||
(
|
||||
'a tag not on the list is dropped',
|
||||
() async => (await event(
|
||||
|
||||
Reference in New Issue
Block a user