mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 03:58:48 +00:00
Pass exception to thrown AssertionError in shortuct icon generation.
This commit is contained in:
@@ -113,7 +113,7 @@ public final class AvatarUtil {
|
||||
}
|
||||
return Icon.createWithAdaptiveBitmap(glideRequest.submit().get());
|
||||
} catch (ExecutionException | InterruptedException e) {
|
||||
throw new AssertionError("This call should not fail.");
|
||||
throw new AssertionError("This call should not fail.", e);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ public final class AvatarUtil {
|
||||
}
|
||||
return IconCompat.createWithAdaptiveBitmap(glideRequest.submit().get());
|
||||
} catch (ExecutionException | InterruptedException e) {
|
||||
throw new AssertionError("This call should not fail.");
|
||||
throw new AssertionError("This call should not fail.", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user