To clarify, you get a list index out of range error when there is no employee linked to the uid. So it should throw a proper exception explain your login does not have an employee linked or something.
To clarify, you get a list index out of range error when there is no employee linked to the uid.
So it should throw a proper exception explain your login does not have an employee linked or something.