re-enable IndexError

This commit is contained in:
Jay Lee
2019-04-16 08:33:41 -04:00
parent 2316b9e76a
commit 1654dee62e

View File

@@ -14009,9 +14009,9 @@ def ProcessGAMCommand(args):
systemErrorExit(2, '%s is not a valid argument for "gam <users> watch"' % watchWhat)
else:
systemErrorExit(2, '%s is not a valid argument for "gam"' % command)
#except IndexError:
# showUsage()
# sys.exit(2)
except IndexError:
showUsage()
sys.exit(2)
except KeyboardInterrupt:
sys.exit(50)
except socket.error as e: