Skip to content
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

fix: bullet proof APIX response handling #754

Merged
merged 1 commit into from
Jul 15, 2021

Commits on Jul 14, 2021

  1. fix: bullet proof APIX response handling

    # Description
    
    APIX now renders raw data if it cannot parse the response returned as expected.
    
     # Changes
    
    1. Added try/catches in appropriate places. Note that the try/catch in RunIt is probably NOT necessary but the code being wrapped indicates that an error could be thrown (logically it should never happen as the user should always be authenticated).
    2. Renamed `parseJson` method to `json2Csv` to better reflect what it does (I was initially confused by the original method name).
    3. Created a ShowRaw response handler.
    4. Created a fallbackResponseHandler to use ShowRaw.
    bryans99 committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    03694c8 View commit details
    Browse the repository at this point in the history