On a littersizecurve exception, show the message in the log

This commit is contained in:
lutepickle 2022-05-07 19:44:54 -07:00
parent 0e34e3d4cc
commit d9ab6cdcde
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1299,9 +1299,9 @@ namespace RJW_Menstruation
{
eggnum = 1 + eggstack;
}
catch(ArgumentException)
catch(ArgumentException e)
{
Log.Warning($"Invalid litterSizeCurve for {parent.pawn.RaceProps}");
Log.Warning($"Invalid litterSizeCurve for {parent.pawn.RaceProps}: {e}");
eggnum = 1 + eggstack;
}