File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -149,14 +149,21 @@ public void run() {
149149 while ((c = reader .read ()) != -1 )
150150 System .err .print ((char ) c );
151151 reader .close ();
152- } catch (Exception e ){}
152+ } catch (Exception e ){
153+ outputArea .setText ("<html><font color=red><b>Run Exception:</b> " +e .getMessage ()+"</font></html>" );
154+ }
153155 }
154156 };
155157 thread .start ();
156158 int res = p .waitFor ();
157159 thread .join ();
160+ // if(res != 0){
161+ // outputArea.setText("<html><font color=red>Decode Failed</font></html>");
162+ // }
158163 return res ;
159- } catch (Exception e ){}
164+ } catch (Exception e ){
165+ outputArea .setText ("<html><font color=red><b>Decode Exception:</b> " +e .getMessage ()+"</font></html>" );
166+ }
160167 return -1 ;
161168 }
162169
@@ -166,7 +173,6 @@ public void run() {
166173 try {
167174 if (listenOnProcess (arguments ) != 0 ){
168175 editor .statusError ("Decode Failed" );
169- outputArea .setText ("<html><font color=red>Decode Failed</font></html>" );
170176 } else {
171177 editor .statusNotice ("Decode Success" );
172178 outputArea .setText (outputText );
You can’t perform that action at this time.
0 commit comments