Inedo / inedox-windows

Windows extension for Otter and BuildMaster.
BSD 3-Clause "New" or "Revised" License
7 stars 4 forks source link

Missing PowerShell script error message #72

Closed jrasch closed 4 years ago

jrasch commented 5 years ago

The message generated in BuildMaster when a script is not found could use some work:

Script HelloWorld.ps1 not found in Default raft.
Unhandled exception: System.ArgumentNullException: Value cannot be null.
Parameter name: s
 at System.IO.StringReader..ctor(String s)

Should be made more clear, something like "The [PowerShell/Shell] script HelloWorld.[ps1/sh] was not found." For Otter, "in raft-name raft." For BuildMaster, "for the application-name application or at the system-level."

Also, there is no reason to show the stack trace in this case.