ProxySQL and replication threads error

Hello. I use proxysql 2.4.4
2 backend servers
one of backend with max_replication_lag option

It works ok , but if we have replication error - proxysql think that backend is ok and no replication lag and send queries to it.
Can ProxySQL check replication threads statuses , but not only replication delay or i need additional external scripts to switch backends ?

Hello @PavelVD,
This sounds like a bug in ProxySQL. Have you checked their github issues for similar reports?