Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

HTTP API does not return HTTP error codes #53

Open
pothos opened this issue Aug 23, 2020 · 0 comments
Open

HTTP API does not return HTTP error codes #53

pothos opened this issue Aug 23, 2020 · 0 comments

Comments

@pothos
Copy link
Member

pothos commented Aug 23, 2020

If registering fails or if dumping fails because no trace can be found, traceloop should return HTTP error codes so that clients can react on errors (e.g., curl -f).

Currently it's always a 200 OK response even if dumping fails because there is no trace (prog with name "MYNAME" not found).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant