Skip to content

Commit 487a2ce

Browse files
committed
update error status code
1 parent 5817139 commit 487a2ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CippEntrypoints/CippEntrypoints.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function Receive-CippHttpTrigger {
6161
} catch {
6262
Write-Warning "Exception occurred on HTTP trigger ($FunctionName): $($_.Exception.Message)"
6363
Push-OutputBinding -Name Response -Value ([HttpResponseContext]@{
64-
StatusCode = [HttpStatusCode]::Forbidden
64+
StatusCode = [HttpStatusCode]::InternalServerError
6565
Body = $_.Exception.Message
6666
})
6767
}

0 commit comments

Comments
 (0)