Revision ee938820

b/lib/mcpu.py
404 404
    if not (resultcheck_fn is None or resultcheck_fn(result)):
405 405
      logging.error("Expected opcode result matching %s, got %s",
406 406
                    resultcheck_fn, result)
407
      raise errors.OpResultError("Opcode result does not match %s" %
408
                                 resultcheck_fn)
407
      raise errors.OpResultError("Opcode result does not match %s, got %s" %
408
                                 (resultcheck_fn, result[:80]))
409 409

  
410 410
    return result
411 411

  

Also available in: Unified diff