Skip to content

Commit

Permalink
Updated Paulo's email and improved log (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamartinezmejia authored Sep 8, 2023
1 parent 7fcbfa2 commit d179ed8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions backend/src/form/services/form.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ export class FormService {
};

this.postEmailSubmissionLog(emailSubmissionLogEntity);
this.logger.error(formId + errorMsg);
this.sendErrorNotification(formId + errorMsg);
this.logger.error(formId + ' ' + errorMsg);
this.sendErrorNotification(formId + ' ' + errorMsg);

return new HttpException(
{ message: e },
Expand All @@ -416,10 +416,9 @@ export class FormService {
this.logger.error('Send error notification email');
const email: EmailEntity = {
emailTo: [
'catherine.meng@gov.bc.ca',
'maria.martinez@gov.bc.ca',
'ziad.bhunnoo@gov.bc.ca',
'paulo.cruz@encora.com',
'paulo.cruz@gov.bc.ca',
],
emailSubject: 'Old Growth Email Notification Error',
emailBody: errorMsg,
Expand Down

0 comments on commit d179ed8

Please sign in to comment.