mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Reports exception to logger where it used to go to console only.
This commit is contained in:
parent
aae366d33c
commit
b98914ed55
|
|
@ -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…
Reference in a new issue