Skip to content
  • Jason Yellick's avatar
    [FAB-5365] Fix bad error in peer CLI Deliver · 22e12995
    Jason Yellick authored
    
    
    The peer CLI currently attempts to print the error status returned by
    the orderer's Deliver gRPC method.  However, the log statement
    inappropriately uses the '%T' modifier, and prints the type of the
    status, not the actual status code inside it.  Consequently, all deliver
    errors read the same uninformative error message:
    
        Got Status:*orderer.DeliverResponse_Status
    
    This CR fixes this log statement to include the status code instead, and
    additionally enhances the other error messages with pertitent
    information.
    
    Change-Id: I5a3e1dec574bfab178550cf67bc96a66f1896d5b
    Signed-off-by: default avatarJason Yellick <jyellick@us.ibm.com>
    22e12995