fix Issue 9831 - Error message with failed lambda inference
Merge pull request #2798 from 9rnsr/fix9831

Issue 9831 - Error message with failed lambda inference