Closed andrewmathies closed 1 year ago
~Also, in my opinion there should be a limit on the number of retries after it fails to connect. Maybe it would be best to make an option for this in case others like the infinite retries~
This already exists with the enable automatic connection
checkbox in the config node. I'm not sure if this feature is documented somewhere though
So after reading through the code I realized you are emitting a status change. So I can listen for this with a status node and handle the error, kind of. I still think this should be an actual error but it's better than nothing
Describe the bug Hello! I noticed that when the Oracle client fails to connect to a server, an error is logged to the console several times. However, this error is coming from the config node, so there is no way to catch this error in a flow. I want my application to be resilient and be able to handle a situation where it cannot connect to the database server, so it would be better to have this error propagated to the database node in the flow.
The error I see logged is:
Oracle-server error connection to localhost:1521/a: ORA-12541: TNS:no listener
To Reproduce Steps to reproduce the behavior:
Expected behavior An error is thrown that can be handled with a catch node
Screenshots
Desktop (please complete the following information):