Skip to content
Snippets Groups Projects
Commit 9154c11d authored by Gwenaelle ABEILLE's avatar Gwenaelle ABEILLE
Browse files

add error logging

parent c2ae581e
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ import fr.soleil.archiving.hdbtdb.api.utils.database.DbUtilsFactory;
import fr.soleil.archiving.hdbtdb.api.utils.database.IDbUtils;
import fr.soleil.database.connection.AbstractDataBaseConnector;
import fr.soleil.lib.project.ObjectUtils;
import org.tango.utils.DevFailedUtils;
/**
* @author AYADI
......@@ -111,6 +112,8 @@ public abstract class TdbDataExport implements ITdbDataExport {
forceDatabaseToImportFile(tableName);
}
} catch (final DevFailed devFailed) {
logger.error("error export file ", devFailed);
logger.error("error export file {}", DevFailedUtils.toString(devFailed));
throw new ArchivingException(devFailed);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment