aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/musichub/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/musichub/util')
-rw-r--r--src/main/java/musichub/util/Policy.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/musichub/util/Policy.java b/src/main/java/musichub/util/Policy.java
index 67a1c40..ac067b4 100644
--- a/src/main/java/musichub/util/Policy.java
+++ b/src/main/java/musichub/util/Policy.java
@@ -1,5 +1,6 @@
package musichub.util;
+import java.io.IOException;
import java.util.Scanner;
/**
@@ -104,6 +105,11 @@ public final class Policy {
}
}
}
+ try {
+ LogHandler.write("Terms accepted by the user.", "INFO");
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
}
/**