server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

Error Message

Open cmsalmeida opened this issue 10 years ago • 1 comments

Using the scheduler error mail, how can we get the error message to add it in mail template.

cmsalmeida avatar Jan 06 '16 20:01 cmsalmeida

Hi @cmsalmeida , it is already included. See https://github.com/OCA/server-tools/blob/8.0/scheduler_error_mailer/ir_cron_email_tpl.xml

<strong>
${ctx.get('job_exception') and ctx.get('job_exception').value or 'Failed to get the error message from the context.'}
</strong>

eLBati avatar Jan 08 '16 09:01 eLBati