powershell try catch print error message