uploadAttachment via shell can fail with unhelpful message if the result of the command is unsuccessful

Description

Example:

The following is seen in the logs:

Instead, the command should fail with something like: "foo.jar cannot be found".

SECONDLY....

Uploading something which is not a JAR yields the following:

We see:

in the logs, which seems about right. Looks like that exception is being masked by the generic "something went wrong" exception.

The shell should really respond with something like "X is not a JAR".

Assignee

Stefan Iliev

Reporter

Roger Willis

Epic Link

None

Priority

Medium

Engineering Teams

None

Fix versions

Affects versions

Ported to...

None

Sprint

None

Labels

None

Story Points / Dev Days

None

Feature Team

Operational Experience

Severity

Medium
Configure