Skip to content
Snippets Groups Projects
Commit 7145faf6 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '53-indexerror-causes-a-complete-fail-of-the-importer' into 'master'

Resolve "IndexError causes a complete fail of the importer"

Closes #53

See merge request !113
parents 62b488cf 5c5f492a
No related branches found
No related tags found
1 merge request!113Resolve "IndexError causes a complete fail of the importer"
Pipeline #86863 failed
Pipeline: AlekSIS

#86876

    ......@@ -214,7 +214,7 @@ def import_csv(
    ):
    try:
    field_type.process(instance, row[column_name])
    except RuntimeError as e:
    except (RuntimeError, IndexError) as e:
    if recorder:
    recorder.add_message(messages.ERROR, str(e))
    else:
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment