You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Seems that only SQLException are catched by most of actions/triggers
Example:
STR
Flow: simple trigger --> action upsert row by primary key
use elasticio_testdb test db
input invalid data
Retrieve sample
AR:
Retrieved sample with actual state of row in DB
2.No error thrown
Erorr in logs
java.lang.IllegalArgumentException
at java.sql.Date.valueOf(Date.java:143)
at io.elastic.jdbc.utils.Utils.setStatementParam(Utils.java:150)
at io.elastic.jdbc.query_builders.Query.executeUpsert(Query.java:242)
at io.elastic.jdbc.actions.UpsertRowByPrimaryKey.execute(UpsertRowByPrimaryKey.java:87)
at io.elastic.sailor.impl.MessageProcessorImpl.processMessage(MessageProcessorImpl.java:68)
at io.elastic.sailor.impl.MessageConsumer.handleDelivery(MessageConsumer.java:71)
at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:149)
at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:104)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
ER: Error thrown
TODO
reviwe code -- check where Only SQLException are catched
fix error handling -- catch all errors that DB throws
The text was updated successfully, but these errors were encountered:
Description: Seems that only SQLException are catched by most of actions/triggers
Example:
STR
AR:
2.No error thrown
ER: Error thrown
TODO
The text was updated successfully, but these errors were encountered: