Made error message slightly more informative.