Better error message for #228