Update parser.js

pull/5690/head
Aleksandr Statciuk 3 years ago
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…
Cancel
Save