Skip to content

Commit

Permalink
Merge pull request #106 from CaritasDeutschland/feature-extend-logging
Browse files Browse the repository at this point in the history
Feature extend logging
  • Loading branch information
mobo4b authored Feb 22, 2021
2 parents 4dbb8d5 + 2159cd7 commit 35468e4
Show file tree
Hide file tree
Showing 15 changed files with 785 additions and 513 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void sendNewEnquiryEmailNotification(Session session) {
sendMailTasksToMailService(newEnquiryMail);
} catch (Exception ex) {
LogService.logEmailNotificationFacadeError(String.format(
"Failed to send new enquiry notification for session %s.", session.getId()));
"Failed to send new enquiry notification for session %s.", session.getId()), ex);
}
}

Expand Down Expand Up @@ -110,7 +110,7 @@ public void sendNewMessageNotification(String rcGroupId, Set<String> roles, Stri
} catch (Exception ex) {
LogService.logEmailNotificationFacadeError(String.format(
"Failed to send new message notification with rocket chat group id %s and user id %s.",
rcGroupId, userId));
rcGroupId, userId), ex);
}
}

Expand All @@ -135,7 +135,7 @@ public void sendNewFeedbackMessageNotification(String rcFeedbackGroupId, String
ex);
} catch (Exception e) {
LogService.logEmailNotificationFacadeError(String.format(
"List of members for rocket chat feedback group id %s is empty.", rcFeedbackGroupId));
"List of members for rocket chat feedback group id %s is empty.", rcFeedbackGroupId), e);
}
}

Expand All @@ -156,7 +156,7 @@ public void sendAssignEnquiryEmailNotification(Consultant receiverConsultant, St
try {
sendMailTasksToMailService(assignEnquiryMails);
} catch (Exception exception) {
LogService.logEmailNotificationFacadeError(exception.getMessage());
LogService.logEmailNotificationFacadeError(exception);
}
}

Expand Down

This file was deleted.

Loading

0 comments on commit 35468e4

Please sign in to comment.