mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 15:19:32 +00:00
Silence Jester's query warning
This commit is contained in:
parent
558fc7a8a0
commit
1b9fa40237
2 changed files with 14 additions and 2 deletions
|
|
@ -36,7 +36,8 @@ proc initRedisPool*(cfg: Config) {.async.} =
|
|||
await migrate("frosty", "*")
|
||||
|
||||
except OSError:
|
||||
echo "Failed to connect to Redis."
|
||||
stdout.write "Failed to connect to Redis.\n"
|
||||
stdout.flushFile
|
||||
quit(1)
|
||||
|
||||
template toKey(p: Profile): string = "p:" & toLower(p.username)
|
||||
|
|
|
|||
Loading…
Reference in a new issue