Skip to content

Commit

Permalink
Fix callback error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
g-jozsef committed Apr 13, 2024
1 parent 2d3cfe2 commit d7c20d9
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 @@ -569,7 +569,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 @@ -595,7 +595,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 d7c20d9

Please sign in to comment.