Skip to content

Commit 69c694f

Browse files
committed
fix: fix unintentionally inserted try
1 parent 040e893 commit 69c694f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/rotation/rotations.service.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ export class RotationsService {
125125
})
126126
async setRotation(): Promise<void> {
127127
if (getFourthWeekdaysOfMonth().indexOf(getTodayDay()) > 0) {
128-
try {
129-
this.logger.log('Setting rotation...');
128+
this.logger.log('Setting rotation...');
130129

131130
const { year, month } = getNextYearAndMonth();
132131
const attendeeArray: Partial<RotationAttendeeEntity>[] = await this.getAllRegistration();

0 commit comments

Comments
 (0)