changeset 2186:d87d72b6e299

Remove spurious failure about reopening database connection
author Adam Chlipala <adam@chlipala.net>
date Sat, 31 Oct 2015 19:21:05 -0400
parents cbd294994c69
children 14c45a0b6362 b49d22a4eda8
files src/c/urweb.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/c/urweb.c	Sat Oct 31 11:49:30 2015 -0400
+++ b/src/c/urweb.c	Sat Oct 31 19:21:05 2015 -0400
@@ -806,9 +806,6 @@
     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) {