Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

[mock goal] do not log exception as a MojoFailureException is thrown #28

Closed
redfish4ktc opened this issue Nov 23, 2012 · 2 comments
Closed
Assignees
Milestone

Comments

@redfish4ktc
Copy link
Owner

This duplicates the error log, so remove it as we did for the test goal (see #2)

        try {
            runner.run();
        } catch (Exception e) {
            getLog().error(e.toString());
            throw new MojoFailureException(this, "SoapUI MockService(s) failed", e.getMessage());
        }
@ghost ghost assigned redfish4ktc Nov 30, 2012
redfish4ktc added a commit that referenced this issue Nov 30, 2012
@redfish4ktc
Copy link
Owner Author

Also add the exception cause to the MojoFailureException.
Implementation done in the mock-goal branch. Ready to be merged in master

@redfish4ktc
Copy link
Owner Author

Merged in master.
Fixed in 4.5.1.2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant