Skip to content
Snippets Groups Projects
Commit 625b2963 authored by Marcelo Schmidt's avatar Marcelo Schmidt Committed by Gabriel Engel
Browse files

Close #2727 Change meteor error (#3040)

* Add function to handle errors

* Delete message errors

* handle error for hideRoom

* Allow returning error instead of calling toastr.error

* Handle error for leaveRoom

* handle error for openRoom

* handleError for toggleFavorite

* handleError in updateMessage

* error for samlLogout

* handleError for assets

* Add global handleError to eslint

* handleError for addOAuthService

* handleError: getUserRoles

* handleError: insertOrUpdateUsere

* handleError: messageDeleting

* handleError: removeUserFromRoles

* handleError: addPermissionToRole

* handleError: addUserToRole

* handleError: deleteRole

* handleError: removeRoleFromPermission

* handleError: removeUserFromRole

* handleError: saveRole

* Return ready on publish without permission

* handleError: channel-settings

* handleError: mailMessages

* handleError: fileUpload

* handleError: rocketchat-importer

* handleError: addIncomingIntegration

* handleError: deleteIncomingIntegration

* handleError: updateIncomingIntegration

* handleError: addOutgoingIntegration

* handleError: deleteOutgoingIntegration

* handleError: updateOutgoingIntegration

* Return ready on publish without permission

* handleError ldap

* remove throw from client code

* handleError: setEmail, slashCommand

* Sort en.i18n.json

* Google translated languages

* Use correct error return from publishes

* RateLimiter.limitFunction

* Fix order of error "500"

* handleError validateEmailDomain

* handleError channelSettings; settings

* handleError livechat

* handleError: Mailer.sendMail

* handleError pinMessage and unpinMessage

* handleError messageStarring

* handleError oauth apps

* handleError: saveNotificationSettings

* handleError getRoomRoles

* handleError: createDirectMessage

* handleError saveUserPreferences

* handleError: saveUserProfile

* handleError sendConfirmationEmail

* Add ecmascript to root

* handleError: avatar

* handleError: getStatistics

* handleError: roomSetting

* handleError: channelSettings

* handleError: sendInvitationEmail

* handleError: addUserToRoom

* handleError: uploadedFilesList

* Change error key on user edit

* handleError: userInfo

* handleError: userRegistration

* handleError: createChannel

* handleError: createPrivateGroup

* handleError: setUserPassword

* handleError setUserActiveStatus

* handleError: accoutns

* A few more errors thrown

* Error: livechat publishes

* Errors in methods

* handleError searchAgent

* Add errors handling

More errors handling

Auto-translation for all languages

* Permalink
parent 2774fd7e
No related branches found
No related tags found
No related merge requests found
Showing
with 283 additions and 42 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment