Adding error to context when failing to monitor court reservations
This commit is contained in:
parent
616f6971c7
commit
91520e01f1
1 changed files with 3 additions and 1 deletions
|
|
@ -612,7 +612,9 @@ export class BaanReserverenService {
|
|||
data: statuses,
|
||||
})
|
||||
} catch (error: unknown) {
|
||||
this.loggerService.error('Failed to monitor court reservations')
|
||||
this.loggerService.error('Failed to monitor court reservations', {
|
||||
error,
|
||||
})
|
||||
if (!swallowError) {
|
||||
throw error
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue