Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
oddsson committed Oct 15, 2024
1 parent deb2092 commit 01ca587
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,10 @@ export class SubpoenaNotificationService extends BaseNotificationService {
subpoena: Subpoena,
): Promise<DeliverResponse> {
try {
this.sendSubpoenaNotification(type as subpoenaNotificationType, subpoena)
await this.sendSubpoenaNotification(
type as subpoenaNotificationType,
subpoena,
)
} catch (error) {
this.logger.error('Failed to send notification', error)

Expand Down

0 comments on commit 01ca587

Please sign in to comment.