apache / apache/openwhisk

Improve message when activation is queried before action is run

Open
#373 3 comments 0 reactions 0 assignees View on GitHub
API controller enhancement
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

I noticed the following behavior: I invoke an action (async) and immediately I ask for the logs. I get something like this:

```
./wsk action invoke slack-channels-info
ok: invoked slack-channels-info with id cb5930907976445aaebe4a5fd661d304
ioana@Ioanas-MBP:bin [ioana-slackbot]$ ./wsk activation logs cb5930907976445aaebe4a5fd661d304
error: The requested resource does not exist. (code 353)
```

The message is misleading, there is no error, it's just that the action was not run yet (it's pending). We should fix this message.

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.