From 86d0125f348637db67fa396786bf4411f3e91ce6 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Thu, 3 Nov 2016 18:01:42 +0100 Subject: [PATCH] Added some text to a fail message --- src/main/java/buttondevteam/lib/TBMCCoreAPI.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/buttondevteam/lib/TBMCCoreAPI.java b/src/main/java/buttondevteam/lib/TBMCCoreAPI.java index 540fa43..3a8b49d 100644 --- a/src/main/java/buttondevteam/lib/TBMCCoreAPI.java +++ b/src/main/java/buttondevteam/lib/TBMCCoreAPI.java @@ -60,7 +60,9 @@ public final class TBMCCoreAPI { Files.move(result.toPath(), finalresult.toPath()); } catch (FileNotFoundException e) { ret = "Can't find JAR, the build probably failed. Build log (scroll to bottom):\nhttps://jitpack.io/com/github/TBMCPlugins/" - + correctname + "/master-SNAPSHOT/build.log"; + + correctname + + "/master-SNAPSHOT/build.log\nIf you'd like to rebuild the same commit, go to:\nhttps://jitpack.io/#TBMCPlugins/" + + correctname + "\nAnd delete the newest build."; } catch (IOException e) { ret = "IO error!\n" + e.getMessage(); } catch (Exception e) {