improve service manager
- do not start sea server automatically - replace _SERVICE in FRAPPY_HISTORY by service name - imporve error messages - no fiddling around with sys,path, reply on PYTHONPATH for finding packages
This commit is contained in:
@ -68,7 +68,7 @@ def run(group, arglist):
|
||||
try:
|
||||
serv.action(action, *arglist)
|
||||
except AttributeError:
|
||||
raise UsageError("do not know '%s'" % ' '.join([serv.group, action] + arglist))
|
||||
raise
|
||||
except UsageError as e:
|
||||
serv.usage()
|
||||
print('ERROR:', str(e))
|
||||
|
Reference in New Issue
Block a user