fix(tvix): Print invalid store path when encountered
... instead of silently swallowing it. Change-Id: I084c51d633d632bd4e3f1ca42987dd6068fbb2a9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1707 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
5851f672ac
commit
a1965e9182
1 changed files with 2 additions and 3 deletions
|
@ -500,9 +500,8 @@ class WorkerServiceImpl final : public WorkerService::Service {
|
|||
response->set_ca(info->ca);
|
||||
|
||||
return Status::OK;
|
||||
} catch (InvalidPath&) {
|
||||
return Status(grpc::StatusCode::INVALID_ARGUMENT,
|
||||
"Invalid store path");
|
||||
} catch (InvalidPath& e) {
|
||||
return Status(grpc::StatusCode::INVALID_ARGUMENT, e.msg());
|
||||
}
|
||||
},
|
||||
__FUNCTION__);
|
||||
|
|
Loading…
Reference in a new issue