Add basic handling of download failures

This commit is contained in:
Dean Herbert
2022-07-19 19:01:23 +09:00
parent f6de76e057
commit 17046b0553
3 changed files with 69 additions and 14 deletions

View File

@ -101,7 +101,7 @@ namespace osu.Game.Database
notification.State = ProgressNotificationState.Cancelled;
if (!(error is OperationCanceledException))
Logger.Error(error, $"{importer.HumanisedModelName.Titleize()} download failed!");
Logger.Error(error, $"{importer?.HumanisedModelName.Titleize()} download failed!");
}
}