diff --git a/datastore/db/management/commands/load_datagetter_data.py b/datastore/db/management/commands/load_datagetter_data.py index 56ae51f9..34940ffa 100644 --- a/datastore/db/management/commands/load_datagetter_data.py +++ b/datastore/db/management/commands/load_datagetter_data.py @@ -1,6 +1,5 @@ import json import os -from django.conf import settings from django.db import transaction from django.core.management import call_command from django.core.management.base import BaseCommand, CommandError @@ -121,8 +120,7 @@ def load_data(self): "Skipping loading due to: '%s'" % e, file=self.stdout, ) - if settings.DEBUG == True: - raise e + # For debug raise e continue return grants_added