INFRA-3700 | Handle unable to send msg to reviewer
This commit is contained in:
@@ -634,7 +634,8 @@ class JitServiceImpl implements JitService {
|
||||
finalJitRequest.getRequestedFor().getEmail(), finalJitRequest, jitApproval,
|
||||
true, SlackColor.INFO));
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
log.error("Failed to send message to reviewer {} for JIT request {}: {}",
|
||||
jitApproval.getReviewer(), jitRequest.getId(), e);
|
||||
}
|
||||
});
|
||||
jitRequestRepository.save(jitRequest);
|
||||
|
||||
Reference in New Issue
Block a user