Commit ba505a4b authored by Quxl's avatar Quxl

x

parent d8535e58
......@@ -107,8 +107,10 @@ public class SqlTestController {
return Rjx.jsonOk().setMessage(ExceptionHandler.toStackString(e).toString());
} finally {
try {
connection.close();
} catch (SQLException e) {
if(connection != null && !connection.isClosed()) {
connection.close();
}
} catch (Exception e) {
e.printStackTrace();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment