Log unexpected errors with WARN level instead of TRACE or DEBUG