Update parser.js
This commit is contained in:
parent
b016b84160
commit
325c7362ff
|
@ -22,7 +22,7 @@ parser.parseLogs = async function (filepath) {
|
|||
parser.parseNumber = function (string) {
|
||||
const parsed = parseInt(string)
|
||||
if (isNaN(parsed)) {
|
||||
logger.error('Not a number')
|
||||
throw new Error('scripts/core/parser.js:parseNumber() Input value is not a number')
|
||||
}
|
||||
|
||||
return parsed
|
||||
|
|
Loading…
Reference in New Issue