From f37a5572ed0be040cccbe9e62c7e3e86cf40639b Mon Sep 17 00:00:00 2001 From: Isaac Turner Date: Mon, 22 Jan 2024 03:18:53 +0800 Subject: [PATCH] Reword OneDrive error to be more useful (#716) --- src/main/java/edu/wpi/first/gradlerio/OneDriveException.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/edu/wpi/first/gradlerio/OneDriveException.java b/src/main/java/edu/wpi/first/gradlerio/OneDriveException.java index 9cde7add..9deff4ec 100644 --- a/src/main/java/edu/wpi/first/gradlerio/OneDriveException.java +++ b/src/main/java/edu/wpi/first/gradlerio/OneDriveException.java @@ -6,5 +6,6 @@ public class OneDriveException extends java.lang.RuntimeException { public OneDriveException(Project project) { super(String.format("Error cannot create project inside OneDrive. Project Directory = %S", project.getRootDir().toString())); System.out.println(String.format("Error cannot create project inside OneDrive. Project Directory = %S", project.getRootDir().toString())); + System.out.println("To fix this error move your project out of the OneDrive folder."); } }