You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constructor for the EnableStudents class checks for required parameters and logs errors, but it does not raise an exception that can be handled upstream in a consistent manner.
Steps to Reproduce:
Create an instance of EnableStudents without providing the required parameters.
Observe the application behavior.
Expected Behavior:
The application should raise a ValueError and terminate the process when required parameters are missing.
Actual Behavior:
The application logs errors but does not handle them properly, which may lead to undefined behavior later.
The text was updated successfully, but these errors were encountered:
Hmm. Can you think of a way we can log better? You may also check portal-frontend's user.js which actually makes requests to this part of the code for registration
The constructor for the EnableStudents class checks for required parameters and logs errors, but it does not raise an exception that can be handled upstream in a consistent manner.
Steps to Reproduce:
Create an instance of EnableStudents without providing the required parameters.
Observe the application behavior.
Expected Behavior:
The application should raise a ValueError and terminate the process when required parameters are missing.
Actual Behavior:
The application logs errors but does not handle them properly, which may lead to undefined behavior later.
The text was updated successfully, but these errors were encountered: