Do not show bug report for errors that are to be expected (Closes #973)