improve error messages for bad WQL+priority