Quit with return code to indicate error

このコミットが含まれているのは:
Zed 2020-06-01 13:48:28 +02:00
コミット 12fb55745d
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -22,7 +22,7 @@ proc initRedisPool*(cfg: Config) =
host=cfg.redisHost, port=cfg.redisPort)
except OSError:
echo "Failed to connect to Redis."
quit()
quit(1)
template toKey(p: Profile): string = "p:" & toLower(p.username)
template toKey(v: Video): string = "v:" & v.videoId