Skip to content

Commit a30f233

Browse files
author
JemyCheung
committed
exception
1 parent 559c387 commit a30f233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/qiniu/android/utils/StringUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public static byte[] toByteArray(Object obj) {
155155
bytes = bos.toByteArray();
156156
oos.close();
157157
bos.close();
158-
} catch (IOException ex) {
158+
} catch (Exception ex) {
159159
ex.printStackTrace();
160160
}
161161
return bytes;

0 commit comments

Comments
 (0)