Skip to content

Commit

Permalink
Removed error and added warning
Browse files Browse the repository at this point in the history
  • Loading branch information
asadiqbal08 committed Feb 3, 2021
1 parent 8c25308 commit 3c934cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grades/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def generate_program_certificate(user, program):
"""

if MicromastersProgramCertificate.objects.filter(user=user, program=program).exists():
log.error('User [%s] already has a certificate for program [%s]', user, program)
log.warning('User [%s] already has a certificate for program [%s]', user, program)
return

for electives_set in ElectivesSet.objects.filter(program=program):
Expand Down

0 comments on commit 3c934cc

Please sign in to comment.