You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CSV module logs an error and returns an empty list if the target file doesn't for read. However, the DB module blindly calls BS.readFile and is prone to throwing an IOException if the file doesn't exist.
Real life case being if status.json doesn't exist on start up (which is sure to happen on the first time), the bot will fail to start at all. The status file should be either created empty, or ignored and operation continued.
The text was updated successfully, but these errors were encountered:
The CSV module logs an error and returns an empty list if the target file doesn't for read. However, the DB module blindly calls
BS.readFile
and is prone to throwing an IOException if the file doesn't exist.Real life case being if
status.json
doesn't exist on start up (which is sure to happen on the first time), the bot will fail to start at all. The status file should be either created empty, or ignored and operation continued.The text was updated successfully, but these errors were encountered: