From 4576b3d35bc4015f53b89f901caa917035dc5254 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 8 Nov 2016 17:00:17 +0100 Subject: [PATCH] hydra-evaluator: Show friendlier exit status --- src/hydra-evaluator/hydra-evaluator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hydra-evaluator/hydra-evaluator.cc b/src/hydra-evaluator/hydra-evaluator.cc index cd19441e..ec3e6849 100644 --- a/src/hydra-evaluator/hydra-evaluator.cc +++ b/src/hydra-evaluator/hydra-evaluator.cc @@ -230,8 +230,8 @@ struct Evaluator state->runningEvals--; for (auto & jobset : state->jobsets) if (jobset.second.pid == pid) { - printInfo("evaluation of jobset ā€˜%s:%sā€™ finished with status %d", - jobset.first.first, jobset.first.second, status); + printInfo("evaluation of jobset ā€˜%s:%sā€™ %s", + jobset.first.first, jobset.first.second, statusToString(status)); jobset.second.pid.release(); maybeDoWork.notify_one(); break;