Skip to content

Commit b8f0d7d

Browse files
committed
Update Invoke-ExecAppInsightsQuery.ps1
1 parent bdcaf59 commit b8f0d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ExecAppInsightsQuery.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function Invoke-ExecAppInsightsQuery {
4040
return [HttpResponseContext]@{
4141
StatusCode = [HttpStatusCode]::InternalServerError
4242
Body = @{
43-
Results = "Failed to execute Application Insights query: $($_.Exception.Message)"
43+
Results = "$($_.Exception.Message)"
4444
Metadata = @{
4545
Query = $Query
4646
Exception = Get-CippException -Exception $_

0 commit comments

Comments
 (0)