Make ERROR logging actually useful