distrib: better error messages