Skip to content

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

@ithinkcode

Description

@ithinkcode

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions