mirror of
https://github.com/prometheus/prometheus.git
synced 2025-09-28 17:21:03 +02: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>