aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/globals.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/globals.js')
-rw-r--r--core/src/globals.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/globals.js b/core/src/globals.js
index dcad2bcdbf6..61ad3921999 100644
--- a/core/src/globals.js
+++ b/core/src/globals.js
@@ -56,7 +56,7 @@ import { getToken as getRequestToken } from './OC/requesttoken.js'
const warnIfNotTesting = function() {
if (window.TESTING === undefined) {
- console.debug.apply(console, arguments)
+ OC.debug && console.debug.apply(console, arguments)
}
}