semaphoreci / cli

Semaphore 2.0 Command Line Interface
Apache License 2.0
26 stars 13 forks source link

NIcer error messages #128

Closed shiroyasha closed 4 years ago

shiroyasha commented 5 years ago

If the response is a parsable JSON, extract message:

Current:

error: http status 400 with message "{"error":"Pattern /*/ is not a valid regex statement","message":"Pattern /*/ is not a valid regex statement","code":3}" received from upstream

Desired:

error: Pattern /*/ is not a valid regex statement