New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got some error in a JSON.pase #280

Closed
justazul opened this Issue Apr 29, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@justazul
Copy link

justazul commented Apr 29, 2018

Mem: 0 MB CPU: 0 % stopped xx cardbot > at JSON.parse (<anonymous>) x x xx cardbot > at _getFromDisk (/home/cappi/cardbot/cardbot/node_modules/steam-tradeoffer-manager/lib/index.js:130:26) x x xx cardbot > at storage.readFiles (/home/cappi/cardbot/cardbot/node_modules/steam-tradeoffer-manager/lib/index.js:268:4) x x xx cardbot > at /home/cappi/cardbot/cardbot/node_modules/file-manager/node_modules/async/lib/async.js:52:16 x x xx cardbot > at /home/cappi/cardbot/cardbot/node_modules/file-manager/node_modules/async/lib/async.js:361:13 x x xx cardbot > at /home/cappi/cardbot/cardbot/node_modules/file-manager/node_modules/async/lib/async.js:52:16 x x xx cardbot > at done (/home/cappi/cardbot/cardbot/node_modules/file-manager/node_modules/async/lib/async.js:246:17) x x xx cardbot > at /home/cappi/cardbot/cardbot/node_modules/file-manager/node_modules/async/lib/async.js:44:16 x x xx cardbot > at /home/cappi/cardbot/cardbot/node_modules/file-manager/node_modules/async/lib/async.js:358:17 x x xx cardbot > at /home/cappi/cardbot/cardbot/node_modules/file-manager/index.js:119:4

Somehow a bad json was save in the Disk, and this module does not handle bad json files :(

@DoctorMcKay DoctorMcKay added the bug label Apr 29, 2018

@DoctorMcKay

This comment has been minimized.

Copy link
Owner

DoctorMcKay commented Feb 5, 2019

Fixed in 38d2407.

@DoctorMcKay DoctorMcKay closed this Feb 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment