stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nirmal Fernando (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (STRATOS-491) Exception shown in the CLI instead of the proper message
Date Tue, 04 Mar 2014 14:57:21 GMT

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

Nirmal Fernando commented on STRATOS-491:
-----------------------------------------

Hi Vimuth,

Why do you think this as an issue? Don't you think that back-end should send an error instead
of an empty list of Cartridges in that case? I felt, it's good to send an error message, for
two reasons.

IMO CLI shouldn't check anything and act accordingly, but should simply delegate the request
to REST API and then delegate the response back to the user.

But others may have other thoughts. Let's discuss here.

> Exception shown in the CLI instead of the proper message
> --------------------------------------------------------
>
>                 Key: STRATOS-491
>                 URL: https://issues.apache.org/jira/browse/STRATOS-491
>             Project: Stratos
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 4.0.0 Alpha
>            Reporter: Vimuth
>            Priority: Minor
>
> In the "list-subscribed-cartridges" command [errorCode= 400, errorMessage= Cannot find
any subscribed Cartridge, matching the given string: null] is  shown when there are no subscribed
cartridges



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message