(RT #83513) Fixed incorrect croak instead of a warning.