Skip to content

Commit be6f6f0

Browse files
committed
Catch throwable instead of exception for color detection
1 parent 71c3a06 commit be6f6f0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Version 2.3.1 (2016-09-07)
2+
3+
* [chg] Annotated WebSockets are now registered programatically as it allows injection of the configurator class.
4+
* [fix] Catch exception thrown by the JAnsi library when used on an unsupported OS (i.e. not linux/windows/osx).
5+
16
# Version 2.3.0 (2016-04-25)
27

38
* [new] Full compatibility with Java 8.

core/src/main/java/org/seedstack/seed/core/internal/init/ConsoleManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private OutputStream wrapOutputStream(final OutputStream stream) {
5656
} else {
5757
return basicOutput(stream);
5858
}
59-
} catch (Exception e) {
59+
} catch (Throwable e) {
6060
return basicOutput(stream);
6161
}
6262
}

0 commit comments

Comments
 (0)