Add informative python/vpython error message
When running blink web tests it is important to invoke the wrapper script (run_isolated_script_test.py) with vpython or else psutil and six will fail to import. This change wraps the import of psutil and six in an exception handler so that a useful error message can be printed. This should make it easier for users to find the correct solution. Change-Id: Ia2712e97790d8b54bb9cc640ace37a0fe01ce1c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2495868 Commit-Queue: Bruce Dawson <brucedawson@chromium.org> Commit-Queue: John Chen <johnchen@chromium.org> Auto-Submit: Bruce Dawson <brucedawson@chromium.org> Reviewed-by:John Chen <johnchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#820453}
Showing
Please register or sign in to comment