From d8ced1da25da339175349264b49dac379408f65a Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Tue, 26 Nov 2019 23:54:27 +0200 Subject: [PATCH] Transaction saver task: add 30% probability of exception when simulating network activity --- .../java/net/ktnx/mobileledger/async/SendTransactionTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java b/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java index 2e8d9531..4c3bc477 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/SendTransactionTask.java @@ -61,10 +61,10 @@ public class SendTransactionTask extends AsyncTask 0.3) +// throw new RuntimeException("Simulated test exception"); // } // catch (InterruptedException ex) { // Logger.debug("network", ex.toString()); -- 2.39.5