]> git.parisson.com Git - teleforma.git/commitdiff
fix exception in publish command
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 29 Jun 2022 21:51:54 +0000 (23:51 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 29 Jun 2022 21:51:54 +0000 (23:51 +0200)
teleforma/management/commands/teleforma-publish-notify-conferences.py

index 464ef8a6721709c8663e6e95ae9bdd80c49c3df5..4b9aafda852de1028d404014254350b91df1bb5d 100644 (file)
@@ -75,7 +75,7 @@ class Command(BaseCommand):
                                 notify(student.user, message, url)
                                 logger.logger.info("Student notified: " + student.user.username)
                 except:
-                    logger.logger.info("Student NOT notified: " + student.user.username)
+                    logger.logger.info("Student NOT notified: " + str(student.id))
                     continue
 
             conference.notified = True