Closed muschellij2 closed 2 years ago
If you are calling this function directly, why not just put a tryCatch() around this function and set your own error message in the catch()?
I wasn't calling this directly, but when we had someone try to log in that was not in the authorized user list, the error came up at the top:
The only spot I found [polished] error checking user invite
, was in this function, so I assumed it was coming from here, so wanted to see if it was possible to pass in a custom message for the error for our users.
I'll remove the "[polished]". That should not be in the error message. Is that a good enough compromise?
I would like to always throw consistent error messages from polished functions.
I think that's fine, I was thinking "Error: Please check email for user invite" or something like that, just something more user friendly telling them what to do /who to ask
Fixing #195 for having a custom error message.