Skip to content

Commit

Permalink
Merge pull request godotengine#57384 from madmiraal/vswhere-errors
Browse files Browse the repository at this point in the history
Be more verbose about why msbuild tools could not be found
  • Loading branch information
neikeq authored Jan 29, 2022
2 parents 01f5d7c + 51834a4 commit 9467350
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/mono/build_scripts/mono_reg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9467350

Please sign in to comment.