From 0356a268af89069e1e3f5d84f6c24054e5bdde20 Mon Sep 17 00:00:00 2001 From: Eric Lange Date: Tue, 27 Nov 2018 19:20:25 +0100 Subject: [PATCH] Update README.md --- LiquidCoreAndroid/README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/LiquidCoreAndroid/README.md b/LiquidCoreAndroid/README.md index 160ad4de50..dbcc11cbba 100644 --- a/LiquidCoreAndroid/README.md +++ b/LiquidCoreAndroid/README.md @@ -332,13 +332,9 @@ public class MainActivity extends AppCompatActivity { button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - try { - URI uri = MicroService.DevServer(); - MicroService service = new MicroService(MainActivity.this, uri, startListener); - service.start(); - } catch (URISyntaxException e) { - e.printStackTrace(); - } + URI uri = MicroService.DevServer(); + MicroService service = new MicroService(MainActivity.this, uri, startListener); + service.start(); } }); }