Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b7bf4c0

Browse files
author
Chris Glass
committed
Theses try: except Exception, e: blocks all over the place must die with fire.
1 parent e1a8d3d commit b7bf4c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sx/pisa3/pisa_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ def atPage(self, name, pseudopage, declarations):
373373
c.frameList = []
374374
c.frameStaticList = []
375375

376-
except Exception, e:
377-
log.warn(self.c.warning("@page"), exc_info=1)
376+
except Exception, e: # TODO: KILL THIS FOR THE LOVE OF GOD
377+
log.error(self.c.warning("@page"), exc_info=1)
378378

379379
return {}, {}
380380

0 commit comments

Comments
 (0)