mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Try catching any exception
This commit is contained in:
parent
d394ba60c7
commit
cac5d5fadb
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ namespace ArchiSteamFarm {
|
|||
public static string ToHumanReadable(this TimeSpan timeSpan) {
|
||||
try {
|
||||
return timeSpan.Humanize(3, maxUnit: TimeUnit.Year, minUnit: TimeUnit.Second);
|
||||
} catch (CultureNotFoundException) {
|
||||
} catch {
|
||||
// Workaround for lack of support at Humanizer side
|
||||
return timeSpan.ToString();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue