[core] Log js errors with ERROR level
@@ -146,9 +146,10 @@ def path_forbidden(request):
})
def log_js_error(request):
- LOG.info('JS ERROR: ' + request.POST.get('jserror', 'Unspecified JS error'))
+ LOG.error('JS ERROR: ' + request.POST.get('jserror', 'Unspecified JS error'))
return JsonResponse({'status': 0})
+
@access_log_level(logging.WARN)
def log_view(request):
"""
