added the UUID of the peer when an error appears
This commit is contained in:
parent
cc939451fd
commit
40a61387b9
@ -142,7 +142,7 @@ func getBooking(b *booking.Booking, request *tools.APIRequest, errCh chan error,
|
||||
_, err = (&peer.Peer{}).LaunchPeerExecution(b.DestPeerID, b.ResourceID, tools.BOOKING, tools.GET, nil, &c)
|
||||
|
||||
if err != nil {
|
||||
errCh <- fmt.Errorf("error on " + b.DestPeerID ,err)
|
||||
errCh <- fmt.Errorf("error on " + b.DestPeerID + err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user