Skip to content

Commit

Permalink
remove unnecessary messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmurp committed Jul 15, 2024
1 parent 8914dde commit c8c4aa9
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import com.hcl.appscan.sdk.CoreConstants;
import com.hcl.appscan.sdk.auth.IAuthenticationProvider;
import com.hcl.appscan.sdk.error.AppScanException;
import com.hcl.appscan.sdk.logging.Message;
import com.hcl.appscan.sdk.scan.CloudScanServiceProvider;
import com.hcl.appscan.sdk.scan.IScanServiceProvider;

Expand Down Expand Up @@ -69,8 +68,6 @@ protected void run() throws MojoExecutionException {
Map<String, String> properties = getScanProperties();
properties.put(CoreConstants.APP_ID, appId);
getScanManager().analyze(getProgress(), properties, getServiceProvider());
getProgress().setStatus(new Message(Message.INFO, Messages.getMessage("ir.analyze.success", getIrx()))); //$NON-NLS-1$
getProgress().setStatus(new Message(Message.INFO, "Scan ID: " + getScanManager().getScanId())); //$NON-NLS-1$
} catch (AppScanException e) {
getProgress().setStatus(e);
throw new MojoExecutionException(Messages.getMessage("ir.analyze.failed", e.getLocalizedMessage())); //$NON-NLS-1$
Expand Down

0 comments on commit c8c4aa9

Please sign in to comment.