correct the error channel
This commit is contained in:
parent
1ade41aeae
commit
7223b79fe8
@ -112,6 +112,7 @@ func getBooking(l zerolog.Logger, b *booking.Booking, request *tools.APIRequest,
|
||||
bl.Debug().Msg("Received response from Get booking on " + b.DestPeerID)
|
||||
if err != nil {
|
||||
errCh <- err
|
||||
return
|
||||
}
|
||||
|
||||
errCh <- nil
|
||||
|
Loading…
Reference in New Issue
Block a user