added the UUID of the peer when an error appears

This commit is contained in:
pb 2025-08-05 13:39:21 +02:00
parent cc939451fd
commit 40a61387b9

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