Skip to content
Snippets Groups Projects
Commit c2db5c89 authored by Albert (AJ) St. Aubin's avatar Albert (AJ) St. Aubin
Browse files

[bug] Added in check for MySQL OperationalError for local development

[MICROBA-951]

When running the notify_credentials command locally there is an
OperationalError thrown by MySQL when there are no more results
available for the queryset iterator. This change catches that exception,
checks state, and then logs according to that state. This code runs in
production without issue. This changes allows for the code to be run
locally without a separate code path.
parent 95d4ffb9
No related merge requests found
Loading
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