Use pudb instead of pdb. Don't halt on log.error.