We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 329eb6e commit ecee3beCopy full SHA for ecee3be
haystack/management/commands/update_index.py
@@ -256,7 +256,7 @@ def handle(self, **options):
256
LOG.setLevel(logging.INFO)
257
258
if (minutes and age) or (minutes and start_date) or (age and start_date):
259
- raise NotImplementedError("Minutes / age / start date options are mutually exclusive")
+ parser.error("Minutes / age / start date options are mutually exclusive")
260
261
if minutes is not None:
262
self.start_date = now() - timedelta(minutes=int(minutes))
0 commit comments