catch an error log without exception and perform an action in python

Viewed 12

There may be libraries which throw log errors but no exception in many cases. How do I catch those log errors and perform a set of actions? I know how to catch an exception and act on it, but not otherwise.

0 Answers
Related