skyportal / gwemopt

Gravitational-wave Electromagnetic Optimization
GNU General Public License v3.0
19 stars 34 forks source link

Modules should not call sys.exit() #40

Closed lpsinger closed 5 years ago

lpsinger commented 5 years ago

There are a lot of calls to sys.exit() in module code. This runs the risk of terminating long-running processes such as Flask web applications or Celery workers that make use of gwemopt. Please remove all calls to sys.exit().

mcoughlin commented 5 years ago

Fixed.