Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6727)

Unified Diff: chrome/renderer/resources/event_bindings.js

Issue 7029031: Content settings extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
}
}
};

Powered by Google App Engine
This is Rietveld 408576698