diff --git a/block/simpar/simpar.go b/block/simpar/simpar.go index b32e14d..cecdfa3 100644 --- a/block/simpar/simpar.go +++ b/block/simpar/simpar.go @@ -160,9 +160,9 @@ func (s SimulationTask) RunSimulation() ([]byte, hash.Hash, error) { // try to run simulation cmd := exec.Command("bash", "-c", "cd ./simdata && " + simCommand + " >> /dev/null 2>&1") - _, err := cmd.CombinedOutput() + errorDescription, err := cmd.CombinedOutput() if err != nil { - logger.L.Printf("Error: %v", err) + logger.L.Printf("Error: %v\n%v", err, errorDescription) return nil, hash.Hash{}, fmt.Errorf("RunSimulation - Failed to run simulation command: %v\n", err) } logger.L.Printf("%v: Successfully solved problem #%v/%v\n---\n", GetTime(), pIndex, s.SimHeader.AmountSubProblems-1) diff --git a/main.go b/main.go index 4e6e6ed..1b4b436 100644 --- a/main.go +++ b/main.go @@ -37,7 +37,7 @@ import ( // */ ) -const version = "v0.9.31" +const version = "v0.9.32" // Example RA Node ID: 12D3KooWEYSb69dzeojEH1PygPWef9V1qQJqrGKUEMMsbA4keAyZ