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

Unified Diff: tools/dom/scripts/databasebuilder.py

Issue 63173005: Print more information when Dartium IDL bindings processing fails during build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/databasebuilder.py
diff --git a/tools/dom/scripts/databasebuilder.py b/tools/dom/scripts/databasebuilder.py
index 4bb2d12ed34d9835af35713c47553cb73ab39359..ab04d568ac1e5f9836365ed543583e7f41aa1c9d 100755
--- a/tools/dom/scripts/databasebuilder.py
+++ b/tools/dom/scripts/databasebuilder.py
@@ -72,8 +72,8 @@ def _load_idl_file(file_name, import_options):
defines=import_options.idl_defines)
return IDLFile(idl_ast, file_name)
except SyntaxError, e:
- raise RuntimeError('Failed to load file %s: %s'
- % (file_name, e))
+ raise RuntimeError('Failed to load file %s: %s: Content: %s[end]'
+ % (file_name, e, content))
class DatabaseBuilder(object):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698