mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Improve error handling during group sends
This commit is contained in:
@@ -10,6 +10,7 @@ import type {
|
||||
MessageAttributesType,
|
||||
ReactionAttributesType,
|
||||
} from '../model-types.d';
|
||||
import * as Errors from '../types/errors';
|
||||
import * as log from '../logging/log';
|
||||
import { getContactId, getContact } from '../messages/helpers';
|
||||
import { isDirectConversation, isMe } from '../util/whatTypeOfConversation';
|
||||
@@ -213,10 +214,7 @@ export class Reactions extends Collection<ReactionModel> {
|
||||
this.remove(reaction);
|
||||
});
|
||||
} catch (error) {
|
||||
log.error(
|
||||
'Reactions.onReaction error:',
|
||||
error && error.stack ? error.stack : error
|
||||
);
|
||||
log.error('Reactions.onReaction error:', Errors.toLogFormat(error));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user