diff options
author | 2017-09-28 15:16:14 -0700 | |
---|---|---|
committer | 2017-09-28 15:16:14 -0700 | |
commit | 6456e494a8474f4d62594e98382678703dee9594 (patch) | |
tree | 3c9172bcbb75bdb5afee381f87ae7b4a1845d2f1 /src/python | |
parent | 61b26f97b04b4fec82d6b9ea110ad7743a0ab178 (diff) | |
parent | fde890e9053bf09eee6e727967cbdc472ff80f9f (diff) |
Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/grpcio/support.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/python/grpcio/support.py b/src/python/grpcio/support.py index 510bf422a0..f2395eb26c 100644 --- a/src/python/grpcio/support.py +++ b/src/python/grpcio/support.py @@ -94,7 +94,7 @@ def diagnose_attribute_error(build_ext, error): _ERROR_DIAGNOSES = { errors.CompileError: diagnose_compile_error, - AttributeError: diagnose_attribute_error + AttributeError: diagnose_attribute_error, } @@ -102,8 +102,10 @@ def diagnose_build_ext_error(build_ext, error, formatted): diagnostic = _ERROR_DIAGNOSES.get(type(error)) if diagnostic is None: raise commands.CommandError( - "\n\nWe could not diagnose your build failure. Please file an issue at " - "http://www.github.com/grpc/grpc with `[Python install]` in the title." - "\n\n{}".format(formatted)) + "\n\nWe could not diagnose your build failure. If you are unable to " + "proceed, please file an issue at http://www.github.com/grpc/grpc " + "with `[Python install]` in the title; please attach the whole log " + "(including everything that may have appeared above the Python " + "backtrace).\n\n{}".format(formatted)) else: diagnostic(build_ext, error) |