* Use logError() for exceptions caught from onStart() so that a stack trace is generated.
This commit is contained in:
parent
613344a006
commit
d18ae12d12
1 changed files with 1 additions and 1 deletions
|
@ -1432,7 +1432,7 @@ public final class Application implements IPathElement, Runnable {
|
||||||
eval = getEvaluator();
|
eval = getEvaluator();
|
||||||
eval.invokeInternal(null, "onStart", new Object[0]);
|
eval.invokeInternal(null, "onStart", new Object[0]);
|
||||||
} catch (Exception xcept) {
|
} catch (Exception xcept) {
|
||||||
logEvent("Error in " + name + "/onStart(): " + xcept);
|
logError("Error in " + name + "/onStart()", xcept);
|
||||||
} finally {
|
} finally {
|
||||||
releaseEvaluator(eval);
|
releaseEvaluator(eval);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue