Skip to content

Commit

Permalink
burp ee better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
siewer committed Jul 1, 2024
1 parent 18a8d0c commit f733b07
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ public Boolean isScanDone(Scanner scanner, WebApp webApp) throws Exception {
scannerRepository.save(scanner);
webApp.setRunning(false);
webAppRepository.save(webApp);
log.error("HttpClientErrorException for {} - {}, setting scan status to not running", webApp.getUrl(), e.getStatusCode());
log.error("[BurpEE] HttpClientErrorException for {} - {} - {}, setting scan status to not running", webApp.getUrl(), e.getStatusCode(), e.getLocalizedMessage());
} catch (ResourceAccessException rao) {
log.error("ResourceAccessException for {} - {}", webApp.getUrl(), rao.getLocalizedMessage());
log.error("[BurpEE] ResourceAccessException for {} - {}", webApp.getUrl(), rao.getLocalizedMessage());
} catch (HttpServerErrorException e) {
scanner.setRunningScans(scanner.getRunningScans() - 1);
scannerRepository.save(scanner);
log.error ("HttpServerErrorException for {} - server error {} ", webApp.getUrl(),e.getStatusCode());
log.error ("[BurpEE] HttpServerErrorException for {} - server error {} ", webApp.getUrl(),e.getStatusCode());
}
log.info("[BurpEE] Something Went Wrong during checking scan status for {}", webApp.getUrl());
return false;
Expand Down

0 comments on commit f733b07

Please sign in to comment.