log exceptions as ERROR type