Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
exception on valueerror
  • Loading branch information
mortenwh committed Mar 26, 2021
commit 612aa94cb5738b81f926e86b135f8b206c802d57
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def crawl_and_ingest(url, **options):
# Create Dataset from OPeNDAP url - this is necessary to get all metadata
gds, cr = NansatDataset.objects.get_or_create(url, uri_service_name=name,
uri_service_type=service)
except (IOError, AttributeError) as e:
except (IOError, AttributeError, ValueError) as e:
# warnings.warn(e.message)
continue
if cr:
Expand Down