Skip to main content

I'm working on FME Flow and trying to build in a way to identify and catch database errors that occur in my workspaces that run on FME Flow.


If my FeatureWriter (or Writer) fails to write to my database I would like to identify the error(s), such as the user has no rights to write to the database or the database is not available, and send them as an email. Since there is no <rejected> port on the FeatureWriter, is there any other way to catch these kind of errors than to access the log file of the failed job via an HTTPCaller and the REST API and to see if the ERROR/WARNING messages contain keywords such as "MSSQL Writer" that identify the errors as database errors? 

 

/Vera

You could try using the LogMessageStreamer to look for warnings and errors during the translation, rather than parsing the log file after the fact.

Also, please help improving the FeatureWriter by upvoting this idea :-)