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