diff options
author | Phuedx <samsmith@wikimedia.org> | 2020-12-17 13:33:40 +0000 |
---|---|---|
committer | Phuedx <samsmith@wikimedia.org> | 2020-12-17 13:33:40 +0000 |
commit | 1641f0783982878e9f60998509403151a4616882 (patch) | |
tree | 266ac3b612708583cd8d487e563458cfc326cbaa /resources/src/vue | |
parent | f44a2724883939e1f54f5e524f96cf7487686244 (diff) | |
download | mediawikicore-1641f0783982878e9f60998509403151a4616882.tar.gz mediawikicore-1641f0783982878e9f60998509403151a4616882.zip |
Revert "vue: Log component errors"
This reverts commit f44a2724883939e1f54f5e524f96cf7487686244.
Reason for revert: The supporting patch, Icdb5ea46, was reverted. Please see that patch for additional context and discussion.
Change-Id: I76cdc3f7accf7dad792c8a89952da575cee361aa
Diffstat (limited to 'resources/src/vue')
-rw-r--r-- | resources/src/vue/index.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/resources/src/vue/index.js b/resources/src/vue/index.js index 7f66ae2c53a0..8021f0a1cdad 100644 --- a/resources/src/vue/index.js +++ b/resources/src/vue/index.js @@ -3,22 +3,5 @@ Vue.use( require( './i18n.js' ) ); - /** - * Log errors thrown by Vue.js components to the `global.error` analytics event topic and to the - * console. - * - * @see https://phabricator.wikimedia.org/T249826 - * - * @ignore - * - * @param {Mixed} error - */ - Vue.config.errorHandler = function ( error ) { - mw.errorLogger.logError( error ); - - // eslint-disable-next-line no-console - console.error( error ); - }; - module.exports = Vue; }() ); |