Skip to content

Add better error logging for statistic collection

Lukas ‎‎‎‎ requested to merge tweak/host-stats-exceptions into dev

What does this MR do and why?

This makes error logging in the statistic collection functions use exc_info=e.

Screenshots or screen recordings

.

How to set up and validate locally

  1. Checkout my branch
  2. Use an ARM-based system (We've had reported issues with ARM-based systems) or Android (Android doesn't allow accessing many of the /proc filesystem entries)
  3. Check logs/session.log

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

  • Have you checked this doesn't interfere/conflict/duplicate someone elses work?
  • Have you fully tested your changes?
  • Have you resolved any lint issues?
  • Have you assigned a reviewer?
  • Have you applied correct labels?
  • Have you updated CHANGELOG.md?
Edited by Iain Powrie

Merge request reports