From e272203a60b8642c6d25b8f74c4106c33eb3010e Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Fri, 18 Nov 2011 15:33:08 +0000 Subject: [PATCH] minor: better error message SVN: 23724 --- .../cisd/dbmigration/postgresql/PostgreSQLAdminDAO.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dbmigration/source/java/ch/systemsx/cisd/dbmigration/postgresql/PostgreSQLAdminDAO.java b/dbmigration/source/java/ch/systemsx/cisd/dbmigration/postgresql/PostgreSQLAdminDAO.java index 79ac7bc4df7..b0a55d53530 100644 --- a/dbmigration/source/java/ch/systemsx/cisd/dbmigration/postgresql/PostgreSQLAdminDAO.java +++ b/dbmigration/source/java/ch/systemsx/cisd/dbmigration/postgresql/PostgreSQLAdminDAO.java @@ -240,7 +240,9 @@ public class PostgreSQLAdminDAO extends AbstractDatabaseAdminDAO final File scriptFile = new File(dumpFolder, prefix + "-" + version + SQL_FILE_TYPE); if (scriptFile.canRead() == false) { - final String message = "No " + prefix + " script found for version " + version; + final String message = + "No " + prefix + " script found for version " + version + " in a file " + + scriptFile; operationLog.error(message); throw new ConfigurationFailureException(message); } -- GitLab