mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
better message receipt logging
// FREEBIE
This commit is contained in:
parent
01f2911462
commit
ab378f79b4
1 changed files with 12 additions and 4 deletions
|
@ -263,7 +263,11 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
DDLogDebug(@"%@ handled secure message.", self.tag);
|
DDLogDebug(@"%@ handled secure message.", self.tag);
|
||||||
if (error) {
|
if (error) {
|
||||||
DDLogError(
|
DDLogError(
|
||||||
@"%@ handling secure message failed with error: %@", self.tag, error);
|
@"%@ handling secure message from address: %@.%d failed with error: %@",
|
||||||
|
self.tag,
|
||||||
|
envelope.source,
|
||||||
|
(unsigned int)envelope.sourceDevice,
|
||||||
|
error);
|
||||||
}
|
}
|
||||||
completion();
|
completion();
|
||||||
}];
|
}];
|
||||||
|
@ -273,10 +277,14 @@ NS_ASSUME_NONNULL_BEGIN
|
||||||
case OWSSignalServiceProtosEnvelopeTypePrekeyBundle: {
|
case OWSSignalServiceProtosEnvelopeTypePrekeyBundle: {
|
||||||
[self handlePreKeyBundleAsync:envelope
|
[self handlePreKeyBundleAsync:envelope
|
||||||
completion:^(NSError *_Nullable error) {
|
completion:^(NSError *_Nullable error) {
|
||||||
DDLogDebug(@"%@ handled pre-key bundle", self.tag);
|
DDLogDebug(@"%@ handled pre-key whisper message", self.tag);
|
||||||
if (error) {
|
if (error) {
|
||||||
DDLogError(
|
DDLogError(@"%@ handling pre-key whisper message from address: %@.%d failed "
|
||||||
@"%@ handling pre-key bundle failed with error: %@", self.tag, error);
|
@"with error: %@",
|
||||||
|
self.tag,
|
||||||
|
envelope.source,
|
||||||
|
(unsigned int)envelope.sourceDevice,
|
||||||
|
error);
|
||||||
}
|
}
|
||||||
completion();
|
completion();
|
||||||
}];
|
}];
|
||||||
|
|
Loading…
Reference in a new issue