Commit d9fa193d d9fa193dff4b4d4b22dbb88667564649315633e1 by Clochix

Fix use of utils.format on client side code

1 parent 16806c3a
......@@ -1084,7 +1084,7 @@ Casper.prototype.getGlobal = function getGlobal(name) {
try {
result.value = JSON.stringify(window[name]);
} catch (e) {
var message = f("Unable to JSON encode window.%s: %s", name, e);
var message = "Unable to JSON encode window." + name + ": " + e;
__utils__.log(message, "error");
result.error = message;
}
......