added the UUID of the peer when an error appears

This commit is contained in:
pb 2025-08-05 13:25:47 +02:00
parent 76e9b2562e
commit cc939451fd

View File

@ -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 <- err
errCh <- fmt.Errorf("error on " + b.DestPeerID ,err)
return
}