Skip to content

Commit

Permalink
refactor: changed error logging to warning and added raise in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-valiollahi committed Nov 6, 2023
1 parent 821cbb1 commit dcfb8d3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ def update_sign_auth_assertion(apps, schema_editor):
)
assertion.save()
except signing_authority_assertion.DoesNotExist:
logging.error('Failed to update SigningAuthorityAssertion: No entry found with id "1".')
logging.warning('Failed to update SigningAuthorityAssertion: No entry found with id "1".')
raise

class Migration(migrations.Migration):
"""
Expand Down

0 comments on commit dcfb8d3

Please sign in to comment.