Merge "Add tags for undo edits"
[lhc/web/wiklou.git] / resources / src / mediawiki / mediawiki.js
index 393ab4a..6a218e3 100644 (file)
                        // If we have an exception object, log it to the warning channel to trigger
                        // proper stacktraces in browsers that support it.
                        if ( e && console.warn ) {
-                               console.warn( String( e ), e );
+                               console.warn( e );
                        }
                }
                /* eslint-enable no-console */