mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
add logger
This commit is contained in:
parent
bba1c30fa6
commit
e48988a0c3
@ -39,6 +39,7 @@ export class SendEmailCommand extends BaseCommand<{ success: boolean }> {
|
||||
|
||||
async execute(): Promise<{ success: boolean }> {
|
||||
const methodLogger = createLogger(`execute`)
|
||||
methodLogger.debug(`execute() params=${JSON.stringify(this.params)}`)
|
||||
if (!this.validate()) {
|
||||
throw new Error('Invalid command parameters');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user