#1188 More informative error message