Skip to main content
Question

Workspace Runner Failure Message - Could it be better than what I am currently doing?

  • June 29, 2020
  • 2 replies
  • 68 views

benvk
Contributor
Forum|alt.badge.img+8

Hey,

I am currently running this workspace runner with an emailer sending me an email if it fails.

Unfortunately my emails are not very valuable as it is a wall of text. I do love the way the translation log is formatted, so I am curious, can I instead of outputting this _failure_message, output the child workspace translation log? I would find that much more valuable

Current email format which I am not happy with:

 

Is anyone doing something similar, but providing more useful output upon workspace failure?

 

Thanks heaps.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

Forum|alt.badge.img+1
  • June 29, 2020

Maybe you can consider adding the logfile of the workspace that is called by your workspacerunner as an attachment to the mail? Normally the path to this logfile does not change so it should be easy to add. I would not add the whole logfile as text in the e-mail itself since it tends to get quite long rather quick. Another option is that you read the logfile as a text file using the featurereader after the workspacerunner and filter on lines that contain 'ERROR' or 'WARN' and add these to your e-mail.


oscarwillems
Contributor
Forum|alt.badge.img+17
  • Contributor
  • June 29, 2020

What you can do in your workspace that you call, is to add terminators (with a feature holder in front of it to not prohibit the flow) to provide custom TRANSLATION FAILED messages, your workspace should have adequate error handling.

 

 

By using the terminator, you see the custom error message in your email, and you know where or what went wrong.