##// END OF EJS Templates
templater: drop global exception catcher from runfilter() (API)...
Yuya Nishihara -
r37248:dc4bb142 default
parent child Browse files
Show More
@@ -428,8 +428,6 b' def runfilter(context, mapping, data):'
428 try:
428 try:
429 thing = unwrapastype(thing, getattr(filt, '_intype', None))
429 thing = unwrapastype(thing, getattr(filt, '_intype', None))
430 return filt(thing)
430 return filt(thing)
431 except (ValueError, AttributeError, TypeError):
432 raise error.Abort(_formatfiltererror(arg, filt))
433 except error.ParseError as e:
431 except error.ParseError as e:
434 raise error.ParseError(bytes(e), hint=_formatfiltererror(arg, filt))
432 raise error.ParseError(bytes(e), hint=_formatfiltererror(arg, filt))
435
433
General Comments 0
You need to be logged in to leave comments. Login now