File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/platform/android/app/src/main/java/net/sourceforge/smallbasic Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public String invoke() {
3838 result = buildError ("timeout" );
3939 }
4040 } catch (InterruptedException e ) {
41- result = ERROR_PREFIX + e + ERROR_POSTFIX ;
41+ result = buildError ( e . toString ()) ;
4242 }
4343 return result ;
4444 }
@@ -60,7 +60,7 @@ public void run() {
6060 if (responseCode == HttpURLConnection .HTTP_OK ) {
6161 result = getText (conn .getInputStream ());
6262 } else if (responseCode >= HttpURLConnection .HTTP_BAD_REQUEST && responseCode < HttpURLConnection .HTTP_INTERNAL_ERROR ) {
63- result = buildError (getText (conn .getErrorStream ()));
63+ result = buildError (getText (conn .getErrorStream ()));
6464 } else {
6565 result = buildError (String .valueOf (responseCode ));
6666 }
You can’t perform that action at this time.
0 commit comments