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() {
38
38
result = buildError ("timeout" );
39
39
}
40
40
} catch (InterruptedException e ) {
41
- result = ERROR_PREFIX + e + ERROR_POSTFIX ;
41
+ result = buildError ( e . toString ()) ;
42
42
}
43
43
return result ;
44
44
}
@@ -60,7 +60,7 @@ public void run() {
60
60
if (responseCode == HttpURLConnection .HTTP_OK ) {
61
61
result = getText (conn .getInputStream ());
62
62
} else if (responseCode >= HttpURLConnection .HTTP_BAD_REQUEST && responseCode < HttpURLConnection .HTTP_INTERNAL_ERROR ) {
63
- result = buildError (getText (conn .getErrorStream ()));
63
+ result = buildError (getText (conn .getErrorStream ()));
64
64
} else {
65
65
result = buildError (String .valueOf (responseCode ));
66
66
}
You can’t perform that action at this time.
0 commit comments