diff --git a/couchpotato/templates/_desktop.html b/couchpotato/templates/_desktop.html
index edef184..d4d5ba5 100644
--- a/couchpotato/templates/_desktop.html
+++ b/couchpotato/templates/_desktop.html
@@ -55,6 +55,8 @@
// Catch errors
window.onerror = function(message, file, line){
+ p(message, file, line);
+
Api.request('logging.log', {
'data': {
'type': 'error',