Skip to content

Commit

Permalink
db: load_datagetter_data: Remove raise exception
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwood committed Nov 30, 2022
1 parent bb632f6 commit 4e0f220
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions datastore/db/management/commands/load_datagetter_data.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4e0f220

Please sign in to comment.