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

View file

@ -38,7 +38,7 @@ Objects.prototype.pick = function (category, last) {
return this.get(category, last).name return this.get(category, last).name
} catch (e) { } catch (e) {
logger.traceback() logger.traceback()
throw logger.JSError('Error: pick(' + category + ') ' + category + ' is undefined.') throw logger.JSError('Error: pick(\'' + category + '\') is undefined.')
} }
} }