mirror of
https://github.com/iptv-org/iptv
synced 2026-10-22 02:56:48 -04:00
Update parser.js
This commit is contained in:
1 parent
062eb64c1c
commit
6c5363f083
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user