SDK:
- Make log exception bubbles open exception description - Make Notify tools publically available git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10256 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
db490dc1c1
commit
e09cc8f71e
@ -349,6 +349,7 @@
|
||||
<package>com.jme3.gde.core.texture</package>
|
||||
<package>com.jme3.gde.core.undoredo</package>
|
||||
<package>com.jme3.gde.core.util</package>
|
||||
<package>com.jme3.gde.core.util.notify</package>
|
||||
</public-packages>
|
||||
<class-path-extension>
|
||||
<runtime-relative-path>ext/DDSUtils.jar</runtime-relative-path>
|
||||
|
@ -65,7 +65,7 @@ public class ApplicationLogHandler extends Handler {
|
||||
if (record.getLevel().equals(Level.SEVERE)) {
|
||||
Throwable thrown = record.getThrown();
|
||||
if (thrown != null) {
|
||||
NotifyUtil.show("Exception!", formatter.formatMessage(record), MessageType.EXCEPTION, listener, 0);
|
||||
NotifyUtil.error("Exception!", formatter.formatMessage(record), thrown, false);
|
||||
} else {
|
||||
NotifyUtil.show("Error!", formatter.formatMessage(record), MessageType.ERROR, listener, 10000);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user