diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2022-01-29 07:16:34 +0000 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2022-01-29 07:16:34 +0000 |
commit | 51834a4589339beae3b9d7a313f70b546392a0ef (patch) | |
tree | 3276b8ac11cd2c4082157810d5305878dfe6e6dc /modules/mono/build_scripts | |
parent | 252ec22ff9fc2befd6b120fd40b0e008137a0392 (diff) |
Be more verbose about why msbuild tools could not be found
Diffstat (limited to 'modules/mono/build_scripts')
-rw-r--r-- | modules/mono/build_scripts/mono_reg_utils.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/mono/build_scripts/mono_reg_utils.py b/modules/mono/build_scripts/mono_reg_utils.py index 93a66ebf6f..43c1ec8f8a 100644 --- a/modules/mono/build_scripts/mono_reg_utils.py +++ b/modules/mono/build_scripts/mono_reg_utils.py @@ -96,10 +96,10 @@ def find_msbuild_tools_path_reg(): raise ValueError("Cannot find `installationPath` entry") except ValueError as e: print("Error reading output from vswhere: " + e.message) - except OSError: - pass # Fine, vswhere not found - except (subprocess.CalledProcessError, OSError): - pass + except subprocess.CalledProcessError as e: + print(e.output) + except OSError as e: + print(e) # Try to find 14.0 in the Registry |