Properly handle eval_failure warnings, closes #2835