You should use `error` level instead of `warning`