Correctly handle exception for bad audio format error