You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2021/02/04 07:17:03 UTC

[buildstream] 01/04: _sandboxremote.py: debug

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch juerg/re-debug
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit a54dcf06c5dcab699451ec9b07721bb0c4e414de
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Thu Dec 19 10:11:00 2019 +0100

    _sandboxremote.py: debug
---
 src/buildstream/sandbox/_sandboxremote.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/buildstream/sandbox/_sandboxremote.py b/src/buildstream/sandbox/_sandboxremote.py
index 5ec1c97..0789bf5 100644
--- a/src/buildstream/sandbox/_sandboxremote.py
+++ b/src/buildstream/sandbox/_sandboxremote.py
@@ -430,6 +430,10 @@ class SandboxRemote(SandboxREAPI):
             if execution_response.status.message:
                 raise SandboxError(execution_response.status.message)
             # Otherwise, report the failure in a more general manner
-            raise SandboxError("Remote server failed at executing the build request.")
+            raise SandboxError(
+                "Remote server failed at executing the build request. gRPC status code: {}".format(
+                    execution_response.status.code
+                )
+            )
 
         return execution_response.result