Browse Source

Merge pull request #127 from sebas77/fix-callback-errors

Fix callback error messages
master
Sebastiano Mandalà GitHub 2 months ago
parent
commit
351cdbe646
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      com.sebaslab.svelto.ecs/DataStructures/TypeSafeDictionaryMethods.cs

+ 5
- 5
com.sebaslab.svelto.ecs/DataStructures/TypeSafeDictionaryMethods.cs View File

@@ -134,7 +134,7 @@ namespace Svelto.ECS.Internal
}
catch
{
Console.LogError("Code crashed inside Remove callback ".FastConcat(entityComponentsEngines[i].name));
Console.LogError("Code crashed inside Dispose callback ".FastConcat(entityComponentsEngines[i].name));

throw;
}
@@ -160,7 +160,7 @@ namespace Svelto.ECS.Internal
}
catch
{
Console.LogError("Code crashed inside Remove callback ".FastConcat(reactiveEnginesDisposeExPerType[i].name));
Console.LogError("Code crashed inside Dispose callback ".FastConcat(reactiveEnginesDisposeExPerType[i].name));

throw;
}
@@ -376,7 +376,7 @@ namespace Svelto.ECS.Internal
}
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;
}
@@ -571,7 +571,7 @@ namespace Svelto.ECS.Internal
}
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;
}
@@ -597,7 +597,7 @@ namespace Svelto.ECS.Internal
}
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;
}


Loading…
Cancel
Save