metalminer: better error messages