Skip to content

Commit

Permalink
add null safe check in FileSystem#downloadAsync java implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
jsamr committed Jan 21, 2020
1 parent 6650ec6 commit 0f2d91c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ public void downloadAsync(String url, final String uriStr, final Map<String, Obj
getOkHttpClient().newCall(requestBuilder.build()).enqueue(new Callback() {
@Override
public void onFailure(Call call, IOException e) {
Log.e(TAG, e.getMessage());
Log.e(TAG, String.valueOf(e.getMessage()));
promise.reject(e);
}

Expand Down

0 comments on commit 0f2d91c

Please sign in to comment.