Skip to content

[MSHARED-1142] Remove e.getMessage() duplication when e is passed as object #160

@jira-importer

Description

@jira-importer

Michael Osipov opened MSHARED-1142 and commented

In many spots this is code:

throw new Exception( "Failed to run Maven: " + e.getMessage(), e ); 

e.getMessage() is redundant because e is already passed to the new exception. It will duplicate the message. Zero benefit. We shall remove them.


Remote Links:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions