Add "database has been closed" to DbConnectionClosedException
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ public class DbConnectionClosedException extends SQLException
|
||||
{
|
||||
// TODO long term we should prevent using repos that are closed, but for now this is the easier solution
|
||||
String message = e.getMessage().toLowerCase();
|
||||
return message.contains("connection closed") || message.contains("pointer is closed");
|
||||
return message.contains("connection closed") || message.contains("pointer is closed") || message.contains("database has been closed");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user