HomePhabricator
Diffusion Comm 00711bae56c2

[tunnelbroker] Add error listener for AMQP

Description

[tunnelbroker] Add error listener for AMQP

Summary:
By default, lapin error logs are out of our control, on a separate thread, in library internal code.
This handler lets us print them with our errorType.

NOTE: This might cause increased alarm count for TB. In the future we want to filter them here.

Depends on D13592

Test Plan: Disconnected rabbitmq while tunnelbroker running. Error log appeared about IOError

Reviewers: kamil, varun, will

Reviewed By: kamil, will

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D13593

Details

Provenance
bartekAuthored on Oct 1 2024, 11:05 AM
Reviewer
kamil
Differential Revision
D13593: [tunnelbroker] Add error listener for AMQP
Parents
rCOMM39ddee6b6774: [tunnelbroker] Run AMQP on Tokio runtime
Branches
Unknown
Tags
Unknown