Skip to content

Commit

Permalink
Merge pull request #13 from q-verse/umar/qverse/fix_value_error_excep…
Browse files Browse the repository at this point in the history
…tion

Fix value error exception
  • Loading branch information
mumarkhan999 authored Apr 23, 2020
2 parents 6e169a0 + 7be589c commit a00b9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openedx/features/qverse_features/registration/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def create_prospective_users_from_csv_file(sender, instance, created, **kwargs):
row['status'] = PROSPECTIVE_USER_CREATED
else:
row['status'] = PROSPECTIVE_USER_UPDATED
except (IntegrityError, Department.DoesNotExist, ValidationError) as error:
except (IntegrityError, Department.DoesNotExist, ValidationError, ValueError) as error:
LOGGER.exception('Error while creating/updating ({}) prospective user '
'with the following errors {}.'.format(row.get('regno'), error))
row['status'] = PROSPECTIVE_USER_CREATION_FAILED
Expand Down

0 comments on commit a00b9ba

Please sign in to comment.