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".

Status

Assignee

Stefan Iliev

Reporter

Roger Willis

Labels

None

Priority

Medium

Fix versions

Ported to...

None

Feature Team

Operational Experience

CVSS Vector

None

Severity

Medium

Affects versions

Configure