On a littersizecurve exception, show the message in the log
This commit is contained in:
parent
0e34e3d4cc
commit
d9ab6cdcde
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue