Skip to content

Commit 1349f2d

Browse files
committed
updated ticket body logging
1 parent 385363d commit 1349f2d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Modules/CippExtensions/Public/Halo/New-HaloPSATicket.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ function New-HaloPSATicket {
66
$client
77
)
88
#Get HaloPSA Token based on the config we have.
9-
$InformationPreference = 'Continue'
109
$Table = Get-CIPPTable -TableName Extensionsconfig
1110
$Configuration = ((Get-CIPPAzDataTableEntity @Table).config | ConvertFrom-Json).HaloPSA
1211
$TicketTable = Get-CIPPTable -TableName 'PSATickets'
@@ -107,7 +106,7 @@ function New-HaloPSATicket {
107106
}
108107
Write-LogMessage -message "Failed to send ticket to HaloPSA: $Message" -API 'HaloPSATicket' -sev Error -LogData (Get-CippException -Exception $_)
109108
Write-Information "Failed to send ticket to HaloPSA: $Message"
110-
Write-Information "Body we tried to ship: $body"
109+
Write-Host "Body we tried to ship: $body"
111110
return "Failed to send ticket to HaloPSA: $Message"
112111
}
113112
}

0 commit comments

Comments
 (0)