From 267d30720af9e088f15137c92a955bf79222a201 Mon Sep 17 00:00:00 2001 From: Christoph Diehl Date: Sat, 10 Jun 2017 06:10:40 +0200 Subject: [PATCH] Tiny cosmetics in error message of pick() --- lib/utils/objects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/objects.js b/lib/utils/objects.js index 8828baa..98170ce 100644 --- a/lib/utils/objects.js +++ b/lib/utils/objects.js @@ -38,7 +38,7 @@ Objects.prototype.pick = function (category, last) { return this.get(category, last).name } catch (e) { logger.traceback() - throw logger.JSError('Error: pick(' + category + ') ' + category + ' is undefined.') + throw logger.JSError('Error: pick(\'' + category + '\') is undefined.') } }