Commit 4f4165b6 4f4165b605fe9131d87f3fded97f82e6359b15db by Nicolas Perriault

Merge pull request #517 from clochix/format

Fix use of utils.format on client side code
2 parents 16806c3a d9fa193d
......@@ -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;
}
......