Exception handling fix
This commit is contained in:
parent
2676029542
commit
864e412b1f
@ -21,7 +21,7 @@ class SyncplayMPC(SyncplayClient):
|
||||
try:
|
||||
from syncplay.ui.GuiConfiguration import GuiConfigurationForMPC
|
||||
self.args = GuiConfigurationForMPC(self.args, self.args.force_gui_prompt).getProcessedConfiguration()
|
||||
except:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
def _promptForMissingArguments(self):
|
||||
|
||||
@ -543,7 +543,8 @@ class SyncplayClient(object):
|
||||
self.argsGetter.saveValuesIntoConfigFile()
|
||||
except InvalidConfigValue:
|
||||
self._checkAndSaveConfiguration()
|
||||
except:
|
||||
except Exception, e:
|
||||
print e.message
|
||||
sys.exit()
|
||||
|
||||
def _prepareArguments(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user