When I send a translation job directly to submission with the "Send to translate" action and the submission fails, it doesn't display an error message in the red box that appears.
These are the settings when I create the job.
and this is the resulting error I get when I intentionally fail the TranslationAttempt in the provider.
The error is logged properly in the umbraco logs, but its message doesn't make it's way to the backoffice view, as the api call just throws a general 500 error. Below is the relevant bit of the logged error.
"Testing." is the message I passed back in the failed TranslationAttempt.
It would be nice if the error message from the failed attempt was displayed in that box. Another potential improvement is to include the failed job in the list of submitted jobs with an "x" next to it instead of the checkmark. In the second screenshot, it stops at "0/1" and doesn't show the language that failed to submit. Obviously this doesn't matter that much if only one language is submitted, but this would make it clear which language failed when there is more than one.
Failed job submission doesn't display error message
Translation Manager: 2.2.3
When I send a translation job directly to submission with the "Send to translate" action and the submission fails, it doesn't display an error message in the red box that appears.
These are the settings when I create the job.
and this is the resulting error I get when I intentionally fail the TranslationAttempt in the provider.
The error is logged properly in the umbraco logs, but its message doesn't make it's way to the backoffice view, as the api call just throws a general 500 error. Below is the relevant bit of the logged error.
"Testing." is the message I passed back in the failed TranslationAttempt.
It would be nice if the error message from the failed attempt was displayed in that box. Another potential improvement is to include the failed job in the list of submitted jobs with an "x" next to it instead of the checkmark. In the second screenshot, it stops at "0/1" and doesn't show the language that failed to submit. Obviously this doesn't matter that much if only one language is submitted, but this would make it clear which language failed when there is more than one.
Hi,
yeah in v2.2 I think it only message not the exception :(
we've fixed this in v2.3 and now both the message and exception should appear in the box when a provider returns an error.
Kevin
is working on a reply...