Console not closing if ran w/o db running #802
Labels
Priority: Low
Minor impact
Status: Pending Test
This PR or Issue requires more testing
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Priority
Low
Area
What happened?
some commits before, if you ran 'canary.exe' w/o having the db server running it would give a message and then you could just press any button to close it
(using the new one as example cuz it keeps the message)
[2023-20-01 13:13:58.079] [error] Message: Can't connect to server on '127.0.0.1' (10061)
[2023-20-01 13:13:58.079] [error] Failed to connect to database!
[2023-20-01 13:13:58.080] [error] The program will close after pressing the enter key...
But now, if the same happens it will spam the last message indefinitely.
[2023-20-01 13:13:56.032] [info] Establishing database connection...
[2023-20-01 13:13:58.079] [error] Message: Can't connect to server on '127.0.0.1' (10061)
[2023-20-01 13:13:58.079] [error] Failed to connect to database!
[2023-20-01 13:13:58.080] [error] The program will close after pressing the enter key...
[2023-20-01 13:54:39.618] [info] MySQL Version: 3.3.1
[2023-20-01 13:54:39.618] [info] Running database manager...
[2023-20-01 13:54:39.619] [error] Query: SELECT
TABLE_NAME
FROMinformation_schema
.tables
WHERETABLE_SCHEMA
= 'noname_db'[2023-20-01 13:54:39.620] [error] Message: Server has gone away
[2023-20-01 13:54:40.632] [error] Query: SELECT
TABLE_NAME
FROMinformation_schema
.tables
WHERETABLE_SCHEMA
= 'noname_db'it wont close the console. it will just keep giving this message forever and ever
For the matter, my build is updated till #705 and i added #784 to it, didnt update with the latest ones.
What OS are you seeing the problem on?
Windows
Code of Conduct
The text was updated successfully, but these errors were encountered: