adding some error handling
Merge branch 'release/4.1.34'