From 2a3cc35c6892c5282e8827779ce39c80b570f2fb Mon Sep 17 00:00:00 2001 From: aspsptyd Date: Wed, 23 Oct 2024 16:27:08 +0700 Subject: [PATCH] Fix: error saat ci cd proses --- .idea/vcs.xml | 6 ++++++ .../main/java/com/sarangkamarang/logdebug/MainActivity.java | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/java/com/sarangkamarang/logdebug/MainActivity.java b/app/src/main/java/com/sarangkamarang/logdebug/MainActivity.java index 33173c1..5b7876b 100644 --- a/app/src/main/java/com/sarangkamarang/logdebug/MainActivity.java +++ b/app/src/main/java/com/sarangkamarang/logdebug/MainActivity.java @@ -23,10 +23,11 @@ protected void onCreate(Bundle savedInstanceState) { return insets; }); try { - super.onCreate(savedInstanceState); + // Proses jika ingin ditambahkan + logger.logToFile("Ini adalah percobaan untuk log ke dalam file .txt, bisa di custome berdasarkan kebutuhan"); } catch (Exception error) { + // Untuk catch data log ke file logger.logToFile(String.valueOf(error)); - logger.logToFile("Fahmi ganteng"); } } } \ No newline at end of file