better debugging info when a map transform fails