File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -706,6 +706,7 @@ def has_timeout(row: dict, timeout: int):
706706 else :
707707 # something went wrong, we need to upgrade again
708708 # noinspection PyAsyncCall
709+ self .log .debug ("Upgrade failed, upgrading again." )
709710 asyncio .create_task (self .upgrade ())
710711 return True
711712 elif parse (cluster ['version' ]) != parse (__version__ ):
@@ -748,6 +749,7 @@ def has_timeout(row: dict, timeout: int):
748749 self .log .debug ("A bot update is in progress. We will not take over the master node." )
749750 return False
750751 elif not cluster ['node' ]:
752+ self .log .debug ("Taking over the MASTER, because none is set." )
751753 await cursor .execute ("UPDATE cluster SET master = %s WHERE guild_id = %s" ,
752754 (self .name , self .guild_id ))
753755 return True
You can’t perform that action at this time.
0 commit comments