MRP: improve error reporting