1. Michał Górny
  2. smart-live-rebuild

Commits

Michał Górny  committed a2b3a8b

Add --debug support to the main loop.

  • Participants
  • Parent commits d1f0961
  • Branches master

Comments (0)

Files changed (1)

File smartliverebuild/core.py

View file
  • Ignore whitespace
 					except KeyboardInterrupt:
 						raise
 					except Exception as e:
+						if opts.debug:
+							raise
 						out.err('Error updating %s: [%s] %s' % (vcs.cpv, e.__class__.__name__, e))
 						erraneous.append(vcs.cpv)
 						del processes[i]