You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -60,7 +64,7 @@ public void doPost(HttpServletRequest request, HttpServletResponse response)
60
64
"<strong>Error:</strong> Could not find both individuals in our database. ";
61
65
if (mark1 == null) msg += "<br>could not find individual " + mark1;
62
66
if (mark2 == null) msg += "<br>could not find individual " + mark2;
63
-
errorAndClose(msg, response);
67
+
errorAndClose(msg, response,out);
64
68
myShepherd.rollbackDBTransaction();
65
69
myShepherd.closeDBTransaction();
66
70
return;
@@ -161,7 +165,7 @@ public void doPost(HttpServletRequest request, HttpServletResponse response)
161
165
}
162
166
} catch (Exceptionle) {
163
167
le.printStackTrace();
164
-
errorAndClose("An exception occurred. Please contact the admins.", response);
168
+
errorAndClose("An exception occurred. Please contact the admins.", response, out);
165
169
myShepherd.rollbackDBTransaction();
166
170
myShepherd.closeDBTransaction();
167
171
return;
@@ -190,11 +194,11 @@ public void doPost(HttpServletRequest request, HttpServletResponse response)
190
194
} else {
191
195
errorAndClose(
192
196
"<strong>Failure!</strong> This encounter is currently being modified by another user, or an exception occurred. Please wait a few seconds before trying to modify this encounter again.",
0 commit comments