Skip to main content
Question

How to manage errors with reader or writer component ?

  • August 25, 2023
  • 1 reply
  • 67 views

Hello,

I am abeginner with FME.

I created a workplace test with a reader component PostgreSQL, a transformer component et a CSV Writer component.

All it's works.

I would like catch errors if there is un problem with de connexion to database or to write the csv file in a log file or send mail but there isn't a connection error like Talend to catch errors.

How can I catch errors with writer or reader component?

Thanks for your help

1 reply

lifalin2016
Contributor
Forum|alt.badge.img+29
  • Contributor
  • August 6, 2024

Hi Benoit.

You may want to use FeatureReader and FeatureWriter transformers instead of old style readers and writers.

These transformers basically have the same features, but allow for more detailed control of the flow. E.g. they have a “rejected” port to facilitate for error handling.

Hope this helps.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings