Heartstopper Commit

Enabled every catch block in the project to log parsed exceptions.
This commit is contained in:
ronancpl
2017-04-02 21:38:07 -03:00
parent 3990a08202
commit 5f01d3b7fd
88 changed files with 13325 additions and 40964 deletions

View File

@@ -124,6 +124,7 @@ public final class Channel {
finishedShutdown = true;
System.out.println("Successfully shut down Channel " + channel + " on World " + world + "\r\n");
} catch (Exception e) {
e.printStackTrace();
System.err.println("Error while shutting down Channel " + channel + " on World " + world + "\r\n" + e);
}
}
@@ -138,9 +139,9 @@ public final class Channel {
hmit.remove();
}
} catch (Exception e) {
e.printStackTrace();
e.printStackTrace();
} finally {
wlock.unlock();
wlock.unlock();
}
}