diff --git a/src/octoprint/static/js/app/main.js b/src/octoprint/static/js/app/main.js index 5f3c85f980..57a17a0742 100644 --- a/src/octoprint/static/js/app/main.js +++ b/src/octoprint/static/js/app/main.js @@ -542,10 +542,10 @@ $(function() { try { ko.applyBindings(viewModel, target); } catch (exc) { - console.log("Could not apply bindings for additional view model " + viewModel + ": " + exc.message); + console.log("Could not apply bindings for additional view model " + viewModel.constructor.name + ": " + exc.message); } } else { - console.log("Could not apply binding for view model " + viewModel + ", target does not exist"); + console.log("Could not apply binding for view model " + viewModel.constructor.name + ", target does not exist"); } });