summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-08-31 22:28:21 +0100
committerKHobbits <rob@khobbits.co.uk>2012-08-31 22:28:21 +0100
commitb1cfc8a8eda83530d1ae4d8ad78d198e1f524fee (patch)
treec2e8df92a83ff4a46fd2dc9854783dba795f8d1a /EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
parent6b9b6ba4201aeeaf399a10f377720fb9e0191c6f (diff)
parent79c70b1f657f5de77119e494a632a9335a5154bb (diff)
downloadEssentials-b1cfc8a8eda83530d1ae4d8ad78d198e1f524fee.tar
Essentials-b1cfc8a8eda83530d1ae4d8ad78d198e1f524fee.tar.gz
Essentials-b1cfc8a8eda83530d1ae4d8ad78d198e1f524fee.tar.lz
Essentials-b1cfc8a8eda83530d1ae4d8ad78d198e1f524fee.tar.xz
Essentials-b1cfc8a8eda83530d1ae4d8ad78d198e1f524fee.zip
Merge branch 'groupmanager' of github.com:essentials/Essentials into 2.9
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java')
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index 61bb41dd1..46ec861a3 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -246,7 +246,7 @@ public class GroupManager extends JavaPlugin {
lastError = ex.getMessage();
GroupManager.logger.severe("===================================================");
- GroupManager.logger.severe("= ERROR REPORT START =");
+ GroupManager.logger.severe("= ERROR REPORT START - " + this.getDescription().getVersion() + " =");
GroupManager.logger.severe("===================================================");
GroupManager.logger.severe("=== PLEASE COPY AND PASTE THE ERROR.LOG FROM THE ==");
GroupManager.logger.severe("= GROUPMANAGER FOLDER TO AN ESSENTIALS DEVELOPER =");
@@ -258,7 +258,9 @@ public class GroupManager extends JavaPlugin {
// Append this error to the error log.
try {
- String error = "=============================== GM ERROR LOG ===============================\n\n";
+ String error = "=============================== GM ERROR LOG ===============================\n";
+ error += "= ERROR REPORT START - " + this.getDescription().getVersion() + " =\n\n";
+
error += Tasks.getStackTraceAsString(ex);
error += "\n============================================================================\n";