summaryrefslogtreecommitdiff
path: root/src/c/urweb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/urweb.c')
-rw-r--r--src/c/urweb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/c/urweb.c b/src/c/urweb.c
index cc0eab06..ef7eb9bb 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -818,9 +818,6 @@ static void uw_try_reconnecting(uw_context ctx) {
ctx->db = NULL;
}
ctx->app->db_init(ctx);
-
- if (!ctx->db)
- uw_error(ctx, FATAL, "Error reopening database connection");
}
void uw_try_reconnecting_and_restarting(uw_context ctx) {