New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TC: Handle API errors and improve messages #57

merged 3 commits into from Oct 17, 2018


None yet
1 participant
Copy link

tisba commented Oct 17, 2018

This PR will improve error messages given for test-case operations like update and create. Especially for JavaScript evaluation errors this will significantly improve readability.


Test case could not be updated

E23: Evaluation Error
TypeError: is not a function
    at helper (invalid_user.js:22:11)
    at invalid_user.js:17:3
    at Definition.session (test_case_dsl.js:91:3)
    at invalid_user.js:14:12

Note, that you can still use --output=json to get the API response.

@tisba tisba merged commit a5d1927 into master Oct 17, 2018

1 check passed

continuous-integration/travis-ci/push The Travis CI build passed

@tisba tisba deleted the improve-error-messages branch Oct 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment