mirror of
https://github.com/prometheus/prometheus.git
synced 2025-10-27 22:41:23 +01:00
errors.Unwrap() actually dangerously returns nil if the error does not have an Unwrap() method, which is the case in at least one of these places where I noticed that no error was being logged at all when it should have. Signed-off-by: Julius Volz <julius.volz@gmail.com>