Avoid printing out exception twice in printStackTrace().
This commit is contained in:
parent
8edec30f84
commit
c1338c3d67
1 changed files with 2 additions and 2 deletions
|
@ -143,8 +143,8 @@ public class EcmaScriptException extends Exception {
|
|||
* Prints this <code>Throwable</code> and its backtrace to the
|
||||
* standard error stream.
|
||||
*/
|
||||
public void printStackTrace() {
|
||||
System.err.println(this);
|
||||
public void printStackTrace() {
|
||||
// System.err.println(this);
|
||||
printStackTrace0(new PrintWriter(System.err));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue