Tiny cosmetics in error message of pick()

This commit is contained in:
Christoph Diehl 2017-06-10 06:10:40 +02:00
parent f03f658691
commit 267d30720a
1 changed files with 1 additions and 1 deletions

View File

@ -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.')
}
}