[ 
https://issues.apache.org/jira/browse/MESOS-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822790#comment-13822790
 ] 

Benjamin Mahler commented on MESOS-776:
---------------------------------------

Ok cool, this is just a matter of adding strings to the various 
[NotFound()|https://github.com/apache/mesos/blob/0.15.0-rc4/src/files/files.cpp#L160]
 returns in files.cpp

There are a number of error cases in the 
[browse|https://github.com/apache/mesos/blob/0.15.0-rc4/src/files/files.cpp#L204]
 and 
[read|https://github.com/apache/mesos/blob/0.15.0-rc4/src/files/files.cpp#L204] 
endpoints, I'd imagine one could change the javascript to generate bad requests 
which should be sufficient to test this :)

> Sandbox browsing errors are not shown in the webui.
> ---------------------------------------------------
>
>                 Key: MESOS-776
>                 URL: https://issues.apache.org/jira/browse/MESOS-776
>             Project: Mesos
>          Issue Type: Bug
>          Components: webui
>            Reporter: Benjamin Mahler
>            Assignee: Benjamin Mahler
>
> When browsing errors occur, the response will return a string identifying the 
> issue, see src/files/files.cpp for these types of errors.
> Unfortunately, we don't show these strings in the webui which makes it 
> confusing for users and hard to debug when the sandbox links don't work.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to