diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index d101591ef..54e3e4858 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -244,7 +244,7 @@ function objectToString(o) { // special case this since the default is way, way too verbose return ''; } else { - return o.toString(); + return o !== undefined ? o.toString() : 'undefined'; } }