diff --git a/trunk/SIPRPSoft/src/siprp/Main.java b/trunk/SIPRPSoft/src/siprp/Main.java index e71cc39c..8d28c8e0 100644 --- a/trunk/SIPRPSoft/src/siprp/Main.java +++ b/trunk/SIPRPSoft/src/siprp/Main.java @@ -53,7 +53,7 @@ import com.evolute.utils.ui.window.LoginWindow; public class Main implements com.evolute.utils.ui.window.Connector { - public final static String SHST_VERSION = "8.4"; + public final static String SHST_VERSION = "10.0"; private final static ClassLoader classLoader = new EVUtilsImageLib().getClass().getClassLoader(); diff --git a/trunk/SIPRPSoft/src/siprp/update/UpdateWindow.java b/trunk/SIPRPSoft/src/siprp/update/UpdateWindow.java index c432a9e7..5be29866 100644 --- a/trunk/SIPRPSoft/src/siprp/update/UpdateWindow.java +++ b/trunk/SIPRPSoft/src/siprp/update/UpdateWindow.java @@ -11,6 +11,9 @@ package siprp.update; import java.awt.*; import java.awt.event.*; +import java.io.BufferedOutputStream; +import java.io.ByteArrayOutputStream; + import javax.swing.*; import java.util.*; @@ -156,6 +159,15 @@ public class UpdateWindow extends JFrame catch( Exception ex ) { log( "ERRO ! ! !\nA abortar actualiza\u00e7\u00f5es\n" ); + String errorToLog = ""; + if( ex.getStackTrace() != null ) + { + for( StackTraceElement el : ex.getStackTrace() ) + { + errorToLog += el.toString() + "\n"; + } + } + log(errorToLog); ex.printStackTrace(); return false; }