mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-11 14:50:56 +00:00
added missing close() to print writer for debug output for fixing bug 736
This commit is contained in:
1 parent
185eac9f24
commit
43501e3a2a
2 files changed
+7
-5
No files matched your search
+3
-1
@@ -272,7 +272,9 @@ public class RacingEventServiceImpl implements RacingEventService, RegattaListen
|
||||
Regatta regatta = getRegatta(regattaIdentifier);
|
||||
logger.info("adding regatta leaderboard for regatta "+regatta==null?"null":regatta.getName()+" to "+this);
|
||||
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
||||
new Exception().printStackTrace(new PrintWriter(new OutputStreamWriter(bos)));
|
||||
final PrintWriter pw = new PrintWriter(new OutputStreamWriter(bos));
|
||||
new Exception().printStackTrace(pw);
|
||||
pw.close();
|
||||
logger.info(" at "+new String(bos.toByteArray()));
|
||||
RegattaLeaderboard result = null;
|
||||
if (regatta != null) {
|
||||
|
||||
Reference in new issue
Block a user