[
https://issues.apache.org/jira/browse/ARTEMIS-5201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17904279#comment-17904279
]
ASF subversion and git services commented on ARTEMIS-5201:
----------------------------------------------------------
Commit ea2b80d79e51431fa13bbe816b43c0d43e8dbf9c in activemq-artemis's branch
refs/heads/main from Gary Tully
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=ea2b80d79e ]
ARTEMIS-5201 when non embedded use exit(1) on exception for artemis cli main
like artemis boot
> Allow Artemis cli to system exit(1) on exception like the Artemis boot
> ----------------------------------------------------------------------
>
> Key: ARTEMIS-5201
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5201
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 2.38.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.39.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The return of Artemis cli execute in main is not checked, such that errors
> are ignored.
> To know if a command fails it would be great to exit(1) in the same way as
> the boot command. It can be suppressed for the embedded case like in artemis
> stop.
> this makes the cli useful for checks and probes and external tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact