summaryrefslogtreecommitdiff
path: root/modules/mono/build_scripts/mono_reg_utils.py
diff options
context:
space:
mode:
authorIgnacio Roldán Etcheverry <neikeq@users.noreply.github.com>2022-01-29 12:45:14 +0100
committerGitHub <noreply@github.com>2022-01-29 12:45:14 +0100
commit9467350f37089eb3f4ef7de683daba28b0c69dec (patch)
tree0b08cae24fe32498a7e7982f806b0fb3e4e7e52d /modules/mono/build_scripts/mono_reg_utils.py
parent01f5d7c616920373ff7d140673bc6f8301213713 (diff)
parent51834a4589339beae3b9d7a313f70b546392a0ef (diff)
Merge pull request #57384 from madmiraal/vswhere-errors
Be more verbose about why msbuild tools could not be found
Diffstat (limited to 'modules/mono/build_scripts/mono_reg_utils.py')
-rw-r--r--modules/mono/build_scripts/mono_reg_utils.py8
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