Skip to content

Commit

Permalink
Fix: Invalid error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
zorbathut committed Nov 25, 2024
1 parent 1f53d48 commit 5838c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ public static void RegisterLookup(object obj, Path path)

if (DecPathLookup.ContainsKey(obj))
{
Dbg.Err($"Attempting to register {obj} with path [{serialized}], but it's already registered with path {DecPathLookup[obj]}");
Dbg.Err($"Attempting to register {obj} with path [{serialized}], but it's already registered with path {DecPathLookup[obj].Serialize()}");
return;
}

if (DecPathLookupReverse.ContainsKey(serialized))
{
Dbg.Err($"Attempting to register {obj} with path [{serialized}], but that path is already registered to {DecPathLookupReverse[serialized]}");
Dbg.Err($"Attempting to register {obj} with path [{serialized}], but that path is already registered to {DecPathLookupReverse[serialized].Serialize()}");

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (2.1)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (2.1)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (3.1)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (3.1)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (6.0)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (6.0)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (7.0)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (7.0)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (8.0)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 44 in src/Database.cs

View workflow job for this annotation

GitHub Actions / build_and_test (8.0)

'object' does not contain a definition for 'Serialize' and no accessible extension method 'Serialize' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?)
return;
}

Expand Down

0 comments on commit 5838c12

Please sign in to comment.