fix 'make check'; correct version

master
Trent Mick 2015-01-17 13:33:12 -08:00
parent 28e52193c6
commit f4b97a4952
2 changed files with 4 additions and 2 deletions

View File

@ -11,7 +11,7 @@
* vim: expandtab:ts=4:sw=4 * vim: expandtab:ts=4:sw=4
*/ */
var VERSION = '1.2.5'; var VERSION = '1.3.0';
var p = console.log; var p = console.log;
var util = require('util'); var util = require('util');
@ -1466,8 +1466,10 @@ process.on('uncaughtException', function (err) {
e('* The Bunyan CLI crashed!'); e('* The Bunyan CLI crashed!');
e('*'); e('*');
if (err.name === 'ReferenceError' && gUsingConditionOpts) { if (err.name === 'ReferenceError' && gUsingConditionOpts) {
/* BEGIN JSSTYLED */
e('* This crash was due to a "ReferenceError", which is often the result of given'); e('* This crash was due to a "ReferenceError", which is often the result of given');
e('* `-c CONDITION` code that doesn\'t guard against undefined values. If that is'); e('* `-c CONDITION` code that doesn\'t guard against undefined values. If that is');
/* END JSSTYLED */
e('* not the problem:'); e('* not the problem:');
e('*'); e('*');
} }