diff --git a/doric-android/doric/src/main/java/pub/doric/shader/DoricLayer.java b/doric-android/doric/src/main/java/pub/doric/shader/DoricLayer.java index 16c9c57d..bd31d02e 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/DoricLayer.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/DoricLayer.java @@ -59,7 +59,11 @@ public class DoricLayer extends MaximumFrameLayout { mCornerPath.addRoundRect(mRect, mCornerRadii, Path.Direction.CW); canvas.clipPath(mCornerPath); } - super.draw(canvas); + try { + super.draw(canvas); + } catch (Exception e) { + e.printStackTrace(); + } } @Override