Commit 11a37604 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Chain exception to give better error message.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1157 b35dd754-fafc-0310-a699-88a17e54d16e
parent 36fd01be
......@@ -414,7 +414,7 @@ public class XMPPServer {
"Please verify your database settings and check the " +
"logs/error.log file for detailed error messages.");
Log.error("Database could not be accessed", e);
throw new IllegalArgumentException();
throw new IllegalArgumentException(e);
}
finally {
if (conn != null) {
......
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