mirror of
https://github.com/ppy/osu.git
synced 2024-11-17 03:42:53 +08:00
2d279350ad
Silencing an exception from a task continuation requires accessing `task.Exception` in any way, which was not done previously if `logOnError` was false. To resolve without having to worry whether the compiler will optimise away a useless access or now, just always log, but switch the logging level. The unimportant errors will be logged as debug and therefore essentially silenced on release builds (but could still be potentially useful in debugging). |
||
---|---|---|
.. | ||
DrawableExtensions.cs | ||
EditorDisplayExtensions.cs | ||
TaskExtensions.cs | ||
WebRequestExtensions.cs |