Only trigger error when option is set