Skip to content
Commit c322e818 authored by Eduardo Navarro's avatar Eduardo Navarro Committed by Saray Cabrera Padrón
Browse files

Return accurate error messages

Return a "Bad request" error when the HTTP request headers are not
valid, for the trigger/workflow endpoint.  The response returned
previously was a "Forbidden" error, that in this case makes little
sense.

Return a BadScmPayload error for empty or wrong JSON payload in the
/trigger/workflow endpoint.
parent 1d46df82
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment