Commits

Michał Górny  committed a2b3a8b

Add --debug support to the main loop.

  • Participants
  • Parent commits d1f0961

Comments (0)

Files changed (1)

File smartliverebuild/core.py

 					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]