We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5eb124 commit 8c06610Copy full SHA for 8c06610
lottie/src/main/java/com/airbnb/lottie/network/DefaultLottieFetchResult.java
@@ -42,7 +42,7 @@ public DefaultLottieFetchResult(@NonNull HttpURLConnection connection) {
42
try {
43
return isSuccessful() ? null :
44
"Unable to fetch " + connection.getURL() + ". Failed with " + connection.getResponseCode() + "\n" + getErrorFromConnection(connection);
45
- } catch (IOException e) {
+ } catch (IOException | NullPointerException e) {
46
Logger.warning("get error failed ", e);
47
return e.getMessage();
48
}
0 commit comments