Warn about the attribute error instead of ignore