I am writing a psake script. One of the tasks pulls files from a Github-hosted repository:
Framework "4.0"
$ErrorActionPreference = "stop"
formatTaskName "`n##------ {0} ------##`n"
task DeployToLocalDevelopmentEnvironment {
# other commands
exec { git pull origin somebranch } # this is the line that fails
# other commands
}
pull
command fails with the following message:
It looks like the rest of the error message gets cut off somewhere, so I can't actually get the cause of the problem.
Any thoughts on what how I can view the full error message?