Skip to content

Commit

Permalink
Merge pull request #31627 from jakehilton/2015.8
Browse files Browse the repository at this point in the history
Handling error from using gevent 1.1.
  • Loading branch information
Mike Place committed Mar 2, 2016
2 parents 191241e + 02fb5ed commit cc4c31c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,8 @@ def module_refresh(self):
reload(site)
except RuntimeError:
log.error('Error encountered during module reload. Modules were not reloaded.')
except TypeError:
log.error('Error encountered during module reload. Modules were not reloaded.')
self.load_modules(proxy=self.proxy)
if not self.opts.get('local', False) and self.opts.get('multiprocessing', True):
self.functions['saltutil.refresh_modules']()
Expand Down

0 comments on commit cc4c31c

Please sign in to comment.