sbws poor error handling
sbws first run states file not found, but gives no indication as to what file is not found. ``` test@26e7731456d9:~$ sbws scanner Traceback (most recent call last): File "/usr/lib/python3.5/logging/handlers.py", line 823, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/sbws", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python3.5/dist-packages/sbws/sbws.py", line 53, in main configure_logging(args, conf) File "/usr/local/lib/python3.5/dist-packages/sbws/util/config.py", line 160, in configure_logging logging.config.fileConfig(fd.name) File "/usr/lib/python3.5/logging/config.py", line 84, in fileConfig handlers = _install_handlers(cp, formatters) File "/usr/lib/python3.5/logging/config.py", line 148, in _install_handlers h = klass(*args) File "/usr/lib/python3.5/logging/handlers.py", line 806, in __init__ self._connect_unixsocket(address) File "/usr/lib/python3.5/logging/handlers.py", line 834, in _connect_unixsocket self.socket.connect(address) FileNotFoundError: [Errno 2] No such file or directory ``` I assume the config file is missing, but don't know for sure. **Trac**: **Username**: gabe
issue