Details
Description
When installing the beeswax examples, it's possible for one exception to shadow another exception here.
... def handle_noargs(self, **options): exception = None # Documents will belong to this user but we run the install as the current user try: sample_user = install_sample_user() self._install_tables(options['user'], options['app_name']) except Exception, ex: exception = ex try: self._install_queries(sample_user, options['app_name']) except Exception, ex: exception = ex Document.objects.sync() if exception is not None: raise exception ...