Changed error message for #1663 to be more informative