maint: hotreload updated to 1.13.7
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#if ENABLE_MONO && (DEVELOPMENT_BUILD || UNITY_EDITOR)
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using SingularityGroup.HotReload.Localization;
|
||||
|
||||
namespace SingularityGroup.HotReload {
|
||||
internal static class TaskExtensions {
|
||||
@@ -10,7 +10,7 @@ namespace SingularityGroup.HotReload {
|
||||
try {
|
||||
await task;
|
||||
if(task.IsFaulted) {
|
||||
throw task.Exception ?? new Exception("unknown exception " + task);
|
||||
throw task.Exception ?? new Exception(Localization.Translations.Common.UnknownException + " " + task);
|
||||
}
|
||||
token.ThrowIfCancellationRequested();
|
||||
}
|
||||
@@ -45,4 +45,3 @@ namespace SingularityGroup.HotReload {
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user