traceloop icon indicating copy to clipboard operation
traceloop copied to clipboard

HTTP API does not return HTTP error codes

Open pothos opened this issue 5 years ago • 0 comments

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).

pothos avatar Aug 23 '20 21:08 pothos