mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-20 22:05:10 +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);
|
UpdatesEvent (update);
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Console.WriteLine (ex);
|
logger.Error($"HandleUpdate failed: {ex}");
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue