unbreak the error path

Summary: public
a casualty from a previous refactoring

Reviewed By: jberdine

Differential Revision: D2642065

fb-gh-sync-id: a569bfa
master
Jules Villard 9 years ago committed by facebook-github-bot-7
parent f72a1a4210
commit 6d649259c8

@ -49,7 +49,7 @@ def string_of_error(e):
line = ' on line %s ' % e[utils.JSON_INDEX_LINE] line = ' on line %s ' % e[utils.JSON_INDEX_LINE]
msg = '%s in file %s, procedure %s%s' % ( msg = '%s in file %s, procedure %s%s' % (
e[utils.JSON_INDEX_TYPE], e[utils.JSON_INDEX_TYPE],
quote(e[utils.JSON_INDEX_FILE]), quote(e[utils.JSON_INDEX_FILENAME]),
quote(e[utils.JSON_INDEX_PROCEDURE]), quote(e[utils.JSON_INDEX_PROCEDURE]),
line, line,
) )

Loading…
Cancel
Save