apache / apache/openwhisk-client-go

wrong statusCode in case of application error in activation output

Open
#141 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
37
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Hi guys,

I am getting statusCode 0 in case of application error. It should be 1 in case of application error. I am returning 400 statusCode in my action's output but it is showing statusCode 0 in response map and in the root json also it is showing statusCode 0.
you can see the output of **wsk -i activation get activationId** command in below screenshot.
![Screenshot from 2021-01-05 13-18-14](https://user-images.githubusercontent.com/30547263/103620346-52840700-4f59-11eb-95cf-46048faa429d.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.