pyformance icon indicating copy to clipboard operation
pyformance copied to clipboard

Log exceptions that happen when reporting metrics

Open avoronov-box opened this issue 2 years ago • 0 comments

At the moment, if an exception happens inside report_now, it is wholly ignored This means that if there is a fault in the reporter, it may silently sit there, not reporting anything, without anyone's knowledge.

Add some basic logging of caught exceptions so that they show up in user's logs and so that they are able to inspect problems when they arise.

avoronov-box avatar Jul 07 '23 14:07 avoronov-box