Handle potential error from temperature getter