mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 14:37:04 +00:00
Rethrows BadMessageExceptions when parsing container messages.
This commit is contained in:
parent
9f25a7615e
commit
8b392f5159
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue