SignDatabaseBuild - throw exception cause problem with shell scripting.
This commit is contained in:
parent
0654a5c6a7
commit
d40a330ff9
|
@ -35,7 +35,7 @@ public class SignDatabaseBuild
|
||||||
/** Static Logger */
|
/** Static Logger */
|
||||||
private static CLogger s_log = CLogger.getCLogger (SignDatabaseBuild.class);
|
private static CLogger s_log = CLogger.getCLogger (SignDatabaseBuild.class);
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception
|
public static void main(String[] args)
|
||||||
{
|
{
|
||||||
Adempiere.startupEnvironment(false);
|
Adempiere.startupEnvironment(false);
|
||||||
CLogMgt.setLevel(Level.FINE);
|
CLogMgt.setLevel(Level.FINE);
|
||||||
|
@ -52,7 +52,7 @@ public class SignDatabaseBuild
|
||||||
updateStmt.executeUpdate();
|
updateStmt.executeUpdate();
|
||||||
|
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
throw ex;
|
ex.printStackTrace();
|
||||||
} finally {
|
} finally {
|
||||||
DB.close(updateStmt);
|
DB.close(updateStmt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue