null+****@clear*****
null+****@clear*****
2012年 8月 9日 (木) 18:14:17 JST
SHIMODA Hiroshi 2012-08-09 18:14:17 +0900 (Thu, 09 Aug 2012) New Revision: acacb6868c64e7c315f900974bd75debc4f7ed24 https://github.com/groonga/gcs/commit/acacb6868c64e7c315f900974bd75debc4f7ed24 Log: Add more message Modified files: lib/batch/processor.js Modified: lib/batch/processor.js (+2 -1) =================================================================== --- lib/batch/processor.js 2012-08-09 18:12:45 +0900 (38ff79a) +++ lib/batch/processor.js 2012-08-09 18:14:17 +0900 (2f86bbc) @@ -59,7 +59,8 @@ Processor.prototype = { } if (fieldNames.indexOf(fieldName) < 0) - errors.push(batch.id + ': The field "' + field + '" is unknown.'); + errors.push(batch.id + ': The field "' + field + '" is unknown. ' + + '(available: ' + fieldNames + ')'); if (batch.fields[field] === null) errors.push(batch.id + ': The field "' + field + '" is null.'); -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... Download