Permalink
Browse files

attempted to remove sea of red that can occur

  • Loading branch information...
RichieBzzzt committed Jun 22, 2018
1 parent be95765 commit 9765d11bfdcb0d065f6d0e65335540404cb89498
Showing with 6 additions and 1 deletion.
  1. +6 −1 PoshSSDTBuildDeploy/Functions/PublishDatabaseDeployment.ps1
@@ -75,7 +75,12 @@ Function Publish-DatabaseDeployment {
}
}
catch {
$toThrow = ("Deployment failed: '{0}'" -f $_.Exception)
$e = $_.Exception
$toThrow = $e.Message
while ($e.InnerException) {
$e = $e.InnerException
$toThrow += "`n" + $e.Message
}
}
finally {
Unregister-Event -SourceIdentifier "msg"

0 comments on commit 9765d11

Please sign in to comment.