little change

This commit is contained in:
bilbonet
2022-03-01 12:21:16 +01:00
committed by Andrea Cattalani
parent 810c8ac8eb
commit f3856e5ca0

View File

@@ -165,8 +165,7 @@ class BaseExternalDbsource(models.Model):
"""It tests the connection
Raises:
ConnectionSuccessError: On connection success
ConnectionFailedError: On connection failed
Validation message with the result of the connection (fail or success)
"""
try:
with self.connection_open():