You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the circleclient to trigger a new job, when it works fine it's great - but when it fails the error just says 400 Bad Request like below. Is there a way to get a specific error message/response from the request?
cinderblock --branch cinderblock
Traceback (most recent call last):
File "/home/ubuntu/.local/bin/cinderblock", line 9, in <module>
load_entry_point('cinderblock==0.0.2-1-gf73b8ce', 'console_scripts', 'cinderblock')()
File "/home/ubuntu/.local/lib/python2.7/site-packages/cinderblock/cinderblock.py", line 22, in main
CINDERBLOCK_TARGET_URL=args.circle_build_url)
File "/home/ubuntu/.local/lib/python2.7/site-packages/circleclient/circleclient.py", line 121, in trigger
build_parameters=build_params)
File "/home/ubuntu/.local/lib/python2.7/site-packages/circleclient/circleclient.py", line 67, in request
return self.dispatch[method](url, **kwargs)
File "/home/ubuntu/.local/lib/python2.7/site-packages/circleclient/circleclient.py", line 54, in client_post
status=response.status_code, reason=response.reason))
Exception: 400: Bad Request.
cinderblock --branch cinderblock returned exit code 1
CircleCI Status NOT OK Action failed: cinderblock --branch cinderblock
The text was updated successfully, but these errors were encountered:
I'm trying to use the circleclient to trigger a new job, when it works fine it's great - but when it fails the error just says 400 Bad Request like below. Is there a way to get a specific error message/response from the request?
The text was updated successfully, but these errors were encountered: