Skip to content

Commit

Permalink
openvas fix
Browse files Browse the repository at this point in the history
  • Loading branch information
siewer committed Jun 17, 2024
1 parent f1c6c83 commit f1f019f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,9 @@ private InfraScan createNewTarget(InfraScan ns, RestRequestBody rrb) throws JSON
return ns;
} catch (HttpClientErrorException hcee){
log.error("Error occured during target creation for {} with code {}",ns.getProject().getName(),hcee.getLocalizedMessage() );
ns.setRunning(false);
ns.setInQueue(false);
infraScanRepository.save(ns);
}
return null;
}
Expand Down

0 comments on commit f1f019f

Please sign in to comment.