changeset 522:645d22a0e8cb

add more debug code
author Carl Byington <carl@five-ten-sg.com>
date Fri, 31 May 2024 18:30:19 -0600
parents 5d55f83b4e87
children 775a81a78a2b
files app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java	Fri May 31 18:18:41 2024 -0600
+++ b/app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java	Fri May 31 18:30:19 2024 -0600
@@ -622,7 +622,10 @@
             }
 
             reader.close();
-            if (del) (new File(fn)).delete();
+            if (del) {
+                Log.d(TAG, "try to delete " + fn);
+                (new File(fn)).delete();
+            }
             hostdb.setDefaultColorsForScheme(hostdb.DEFAULT_COLOR_SCHEME, fg, bg);
         }
         catch (Exception e) {