mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 22:47:00 +00:00
Reports exception to logger where it used to go to console only.
This commit is contained in:
parent
aae366d33c
commit
b98914ed55
1 changed files with 2 additions and 1 deletions
|
|
@ -258,10 +258,11 @@ namespace TLSharp.Core.Network
|
|||
{
|
||||
UpdatesEvent (update);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine (ex);
|
||||
logger.Error($"HandleUpdate failed: {ex}");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue