FrostyX / tracer

Tracer finds outdated running applications in your system
GNU General Public License v2.0
81 stars 24 forks source link

Fix unknown distribution message formatting #205

Open FrostyX opened 8 months ago

FrostyX commented 8 months ago

Currently, the error is unformatted:

called 'Unknown or unsupported linux distribution: {0} (v{1})' if there

After this patch:

called 'Unknown or unsupported linux distribution: None (v1.1)' if there

I am not sure if the None is caused by my broken /etc/os-release or if it will appear even on real unsupported distributions. In any case, it is not caused by this commit. We would have to fix System.distribution().

FrostyX commented 8 months ago

This may not be needed? On RHEL the message is correctly formatted even without this patch.