Skip to content

Commit

Permalink
consistent error message for bad yaml element types
Browse files Browse the repository at this point in the history
  • Loading branch information
Fallen-Breath committed Nov 18, 2023
1 parent 349fb8b commit 90a97df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ else if (value instanceof Map)
}
else
{
throw new IllegalArgumentException(String.format("Unknown type %s in with key %s", value.getClass(), fullKey));
throw new IllegalArgumentException(String.format("Bad type %s for value %s on key %s", value.getClass(), value, fullKey));
}
});
}
Expand Down

0 comments on commit 90a97df

Please sign in to comment.