Skip to content
Snippets Groups Projects
Commit 0dc96541 authored by brinn's avatar brinn
Browse files

add: warning if script folder is null

SVN: 15842
parent d5a4a761
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,10 @@ public final class DBMigrationEngine
final ch.systemsx.cisd.dbmigration.IDAOFactory migrationDAOFactory =
context.createDAOFactory();
final String scriptFolder = context.getScriptFolder();
if (scriptFolder == null)
{
operationLog.warn("Script folder is null");
}
final String databaseEngineCode = context.getDatabaseEngineCode();
final ISqlScriptProvider sqlScriptProvider =
new SqlScriptProvider(scriptFolder, databaseEngineCode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment