Fix #1691 : Avoid exception message for users
Merge pull request #939 from romainneutron/fix-1691

[3.8] Fix #1691 : Avoid exception message for users