We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed129d6 + 43e5730 commit cf28cd5Copy full SHA for cf28cd5
bbot/modules/templates/sql.py
@@ -49,7 +49,9 @@ async def setup(self):
49
except Exception as e:
50
last_error = e
51
if attempt < retries:
52
- self.verbose(f"Failed to connect to {connection_string} (attempt {attempt + 1}/{max_attempts}): {e}")
+ self.verbose(
53
+ f"Failed to connect to {connection_string} (attempt {attempt + 1}/{max_attempts}): {e}"
54
+ )
55
await asyncio.sleep(1)
56
57
return False, f"Failed to reach {connection_string} after {max_attempts} attempts: {last_error}"
0 commit comments