GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/5907

    [FLINK-8912][WebUI] Update error handling for flip6

    ## What is the purpose of the change
    
    This PR updates the error handling in the webUI to support Flip6. Error 
reporting was standardized with the REST rework, but is slightly different than 
in the past.
    
    The existing error handling code was checking whether the response 
contained an `error` field (or just returned the entire payload if the status 
code indicates an error), whereas with the rework every error has contains an 
`errors` array.
    
    Various checks were added to account or both cases.
    
    ## Verifying this change
    
    - manually verified


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 8912

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/5907.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5907
    
----
commit c4081d43b3b0a6ffc60320bbb3076246ca75c240
Author: zentol <chesnay@...>
Date:   2018-04-24T13:17:44Z

    [FLINK-8912][WebUI] Update error handling for flip6

----


---

Reply via email to