Chromium Code Reviews| Index: chrome/renderer/resources/event_bindings.js |
| diff --git a/chrome/renderer/resources/event_bindings.js b/chrome/renderer/resources/event_bindings.js |
| index 3cedc5c02f84448e53441e336399192ace97635b..7b8093adc2b066b2ab42e02babcda2936d7d9207 100644 |
| --- a/chrome/renderer/resources/event_bindings.js |
| +++ b/chrome/renderer/resources/event_bindings.js |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| @@ -181,7 +181,7 @@ var chrome = chrome || {}; |
| this.listeners_[i].apply(null, args); |
| } catch (e) { |
| console.error("Error in event handler for '" + this.eventName_ + |
| - "': " + e); |
| + "': " + e.stack); |
|
Matt Perry
2011/06/08 19:30:18
we should print the error message as well. does 's
Bernhard Bauer
2011/06/09 13:57:49
Yes, that's the topmost part.
|
| } |
| } |
| }; |