summaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-02-15 09:47:43 +0100
committerMatthias Beyer <matthias.beyer@atos.net>2021-02-15 10:45:20 +0100
commitd21a9aeab8c68f0b84c479ff143c02658f9eda7f (patch)
treed3b16a9d014d92b6aea1b719086cadc2cf8a623b /src/db
parent1447fc3674a376eef93873e1f18bedd633d870a2 (diff)
Fix: Return script errors properly
This patch fixes error returning from the JobHandle::run() implementation. Somehow, in the many rewrites, the error returning resulted in code that did not differentiate between script run errors and scheduling errors. This patch fixes this by making the JobHandle::run() method return Result<Result<Vec<ArtifactPath>>> whereas the outer error is the scheduling result and the inner error is the script result. The calling code was adapted accordingly. Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/db')
0 files changed, 0 insertions, 0 deletions