mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-31 13:59:58 +01:00
Rethrows BadMessageExceptions when parsing container messages.
This commit is contained in:
parent
9f25a7615e
commit
8b392f5159
|
|
@ -573,6 +573,10 @@ namespace TLSharp.Core.Network
|
|||
messageReader.BaseStream.Position = beginPosition + innerLength;
|
||||
}
|
||||
}
|
||||
catch (BadMessageException e)
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
logger.Debug($"failed to process message in contailer: {e}");
|
||||
|
|
|
|||
Loading…
Reference in a new issue