Skip to content

Commit

Permalink
Update src/main/java/com/lpvs/service/LPVSQueueService.java
Browse files Browse the repository at this point in the history
Co-authored-by: Oleg Kopysov <o.kopysov@samsung.com>
Signed-off-by: m-rudyk <121865672+m-rudyk@users.noreply.github.com>
  • Loading branch information
m-rudyk and o-kopysov authored Feb 15, 2024
1 parent 048fe31 commit b9692e6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/lpvs/service/LPVSQueueService.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,7 @@ public void processWebHook(LPVSQueue webhookConfig) {
} catch (Exception | Error e) {
pullRequest.setStatus(LPVSPullRequestStatus.INTERNAL_ERROR.toString());
pullRequest = lpvsPullRequestRepository.saveAndFlush(pullRequest);
log.error("Can't authorize commentResults() " + e);
e.printStackTrace();
log.error("Can't authorize commentResults() " + e.getMessage());
int currentAttempts = webhookConfig.getAttempts();
if (currentAttempts < maxAttempts) {
webhookConfig.setAttempts(currentAttempts + 1);
Expand Down

0 comments on commit b9692e6

Please sign in to comment.