Skip to content

Commit

Permalink
Merge pull request #127 from sebas77/fix-callback-errors
Browse files Browse the repository at this point in the history
Fix callback error messages
  • Loading branch information
sebas77 authored Jul 14, 2024
2 parents 259d1fe + d7c20d9 commit 351cdbe
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ ref SveltoDictionary<uint, TValue, Strategy1, Strategy2, Strategy3> fromDictiona
}
catch
{
Console.LogError("Code crashed inside Remove callback ".FastConcat(entityComponentsEngines[i].name));
Console.LogError("Code crashed inside Dispose callback ".FastConcat(entityComponentsEngines[i].name));

throw;
}
Expand All @@ -160,7 +160,7 @@ ref SveltoDictionary<uint, TValue, Strategy1, Strategy2, Strategy3> fromDictiona
}
catch
{
Console.LogError("Code crashed inside Remove callback ".FastConcat(reactiveEnginesDisposeExPerType[i].name));
Console.LogError("Code crashed inside Dispose callback ".FastConcat(reactiveEnginesDisposeExPerType[i].name));

throw;
}
Expand Down Expand Up @@ -376,7 +376,7 @@ ref SveltoDictionary<uint, TValue, Strategy1, Strategy2, Strategy3> fromDictiona
}
catch (Exception)
{
Console.LogError("Code crashed inside MoveTo callback ".FastConcat(reactiveEnginesSwapPerType[i].name));
Console.LogError("Code crashed inside Swap callback ".FastConcat(reactiveEnginesSwapPerType[i].name));

throw;
}
Expand Down Expand Up @@ -571,7 +571,7 @@ public static void ExecuteEnginesSwapCallbacksFast<TValue>(
}
catch (Exception e)
{
Console.LogException(e, "Code crashed inside Add callback ".FastConcat(callbackEngines[i].name));
Console.LogException(e, "Code crashed inside Swap callback ".FastConcat(callbackEngines[i].name));

throw;
}
Expand All @@ -597,7 +597,7 @@ ExclusiveGroupStruct exclusiveGroupStruct
}
catch (Exception e)
{
Console.LogException(e, "Code crashed inside Add callback ".FastConcat(fasterList[i].name));
Console.LogException(e, "Code crashed inside Remove callback ".FastConcat(fasterList[i].name));

throw;
}
Expand Down

0 comments on commit 351cdbe

Please sign in to comment.