It breaks when trying to add an invalid lesson type (foo in this case)  <!--session: 1743756338134-0deaee06-29ae-4db7-9b5f-e9bfc5f37b4e--> <!--Version: Desktop v3.6.0-->
It breaks when trying to add an invalid lesson type (foo in this case)