refactor
This commit is contained in:
@@ -97,7 +97,7 @@ export class ApplyPenaltyUseCase
|
||||
|
||||
return { penaltyId: penalty.id };
|
||||
} catch (error) {
|
||||
this.logger.error('ApplyPenaltyUseCase: Failed to apply penalty', { command, error: error.message });
|
||||
this.logger.error('ApplyPenaltyUseCase: Failed to apply penalty', error, { command });
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user