Exceptions thrown from registered listeners are not caught

Description

If a user registered a listener that raises an exception, we should be catching it and logging it. Instead, the exception silently kills the thread and prevents further driver code from within the thread from executing.

E.g., https://github.com/datastax/python-driver/blob/master/cassandra/cluster.py#L1816

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

James Falcon

Fix versions

None

Labels

None

Reproduced in

None

PM Priority

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Sprint

Priority

Major
Configure