Tiny cosmetics in error message of pick()
This commit is contained in:
parent
f03f658691
commit
267d30720a
1 changed files with 1 additions and 1 deletions
|
@ -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.')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue