Catch any error in UpdateRepos

This commit is contained in:
Ryan Brandenburg 2017-12-07 11:16:29 -08:00
parent 911264eb04
commit fabe0fbe3c
1 changed files with 5 additions and 1 deletions

View File

@ -118,7 +118,11 @@ try {
}
}
catch {
Write-Warning "Error in $($submodule.module)"
Write-Warning "Error in $($submodule.module): $_"
$build_errors += @{
Repo = $submodule.module
Message = $_
}
}
finally {
Pop-Location