[
https://issues.apache.org/jira/browse/ARTEMIS-5201?focusedWorklogId=947097&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-947097
]
ASF GitHub Bot logged work on ARTEMIS-5201:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 06/Dec/24 18:39
Start Date: 06/Dec/24 18:39
Worklog Time Spent: 10m
Work Description: gtully commented on PR #5385:
URL:
https://github.com/apache/activemq-artemis/pull/5385#issuecomment-2523932109
> @gtully what exception were you having that led you to make this change?
They were security related, but all are ignored in the main method. I am
using the Artemis cli main directly and need a jvm exit code on error
Issue Time Tracking
-------------------
Worklog Id: (was: 947097)
Time Spent: 50m (was: 40m)
> 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: 50m
> 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