Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to catch any exception that occurs during copyFromDB call #103

Open
ithinkcode opened this issue Jun 29, 2023 · 1 comment
Open

Comments

@ithinkcode
Copy link

Strange issue. I am using the copyFromDB method successfully but when an exception occurs - maybe due to wrong query or any other ch side error I am unable to "catch" the actual exception in a regular try catch block.

As per the logs this is the exception type

ERROR Error on sendStreamSQL()
cc.blynk.clickhouse.except.ClickHouseUnknownException: ClickHouse exception

However if I try to catch that exception in a try catch it never gets caught !

@ithinkcode
Copy link
Author

Was an issue in the clickhouse4j code where the exception returned from the clickhouse servers were getting suppressed instead of the getting pushed out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant