From 382b97347d221a0816e2bb0f5d06b8422eb15c13 Mon Sep 17 00:00:00 2001 From: Thisaru Guruge Date: Mon, 18 Sep 2023 18:06:04 +0530 Subject: [PATCH] Fix warnings in examples --- examples/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/build.gradle b/examples/build.gradle index 27779586..ea8d4691 100644 --- a/examples/build.gradle +++ b/examples/build.gradle @@ -42,7 +42,8 @@ task testExamples { } } } catch (Exception e) { - throw new GradleException("Example Build failed: " + e.message) + println("Example Build failed: " + e.message) + throw e } } } @@ -67,7 +68,8 @@ task buildExamples { } } } catch (Exception e) { - throw new GradleException("Example Build failed: " + e.message) + println("Example Build failed: " + e.message) + throw e } } }