Skip to content

Commit

Permalink
chore: log bacalhau client error (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
hunjixin authored Sep 13, 2024
1 parent ea0574b commit 0336c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/bacalhau/bacalhau.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (executor *BacalhauExecutor) Id() (string, error) {
func (executor *BacalhauExecutor) IsAvailable() (bool, error) {
isAlive, err := executor.bacalhauClient.alive()
if !isAlive || err != nil {
return false, errors.New("Bacalhau is not currently available. Please ensure that Bacalhau is running, then try again.")
return false, fmt.Errorf("Bacalhau is not currently available. Please ensure that Bacalhau is running, then try again. %w", err)
}

// Check that we have the right version of Bacalhau
Expand Down

0 comments on commit 0336c2c

Please sign in to comment.