Selaa lähdekoodia

Merge pull request #37726 from kolyshkin/make-ps1

hack/make.ps1: know where we failed
John Howard 6 vuotta sitten
vanhempi
commit
a005332346
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      hack/make.ps1

+ 1 - 0
hack/make.ps1

@@ -437,6 +437,7 @@ Try {
 }
 }
 Catch [Exception] {
 Catch [Exception] {
     Write-Host -ForegroundColor Red ("`nERROR: make.ps1 failed:`n$_")
     Write-Host -ForegroundColor Red ("`nERROR: make.ps1 failed:`n$_")
+    Write-Host -ForegroundColor Red ($_.InvocationInfo.PositionMessage)
 
 
     # More gratuitous ASCII art.
     # More gratuitous ASCII art.
     Write-Host
     Write-Host