Skip to content

[IMPROVE] Update deleteUser errors to be more semantic#12380

Merged
ggazzo merged 3 commits intodevelopfrom
timkinnane-patch-1
Feb 7, 2019
Merged

[IMPROVE] Update deleteUser errors to be more semantic#12380
ggazzo merged 3 commits intodevelopfrom
timkinnane-patch-1

Conversation

@timkinnane
Copy link
Contributor

Two different errors with the same message make it hard to know what's going wrong.
Errors should be more descriptive for log/debug to describe if the problem is with the user doing the deleting, or the user you're trying to delete.

Two different errors with the same message make it hard to know what's going wrong.
Errors should be more descriptive for log/debug to describe if the problem is with the user doing the deleting, or the user you're trying to delete.
@engelgabriel engelgabriel requested a deployment to rocket-chat-pr-12380 February 7, 2019 16:59 Abandoned
@ggazzo ggazzo requested a deployment to rocket-chat-pr-12380 February 7, 2019 16:59 Abandoned
@ggazzo ggazzo changed the title Update deleteUser errors to be more semantic [IMPROVE] Update deleteUser errors to be more semantic Feb 7, 2019
@ggazzo ggazzo merged commit 9aabd4f into develop Feb 7, 2019
@ggazzo ggazzo deleted the timkinnane-patch-1 branch February 7, 2019 17:01
Montel pushed a commit to Montel/Rocket.Chat that referenced this pull request Feb 13, 2019
@rodrigok rodrigok mentioned this pull request Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments