]> git.donarmstrong.com Git - kiibohd-kll.git/commit
Die gracefully
authorRowan Decker <Smasher816@gmail.com>
Wed, 31 Dec 2014 07:48:08 +0000 (01:48 -0600)
committerRowan Decker <Smasher816@gmail.com>
Wed, 31 Dec 2014 07:48:08 +0000 (01:48 -0600)
commit3f0149b7213fdcf28f94291ab5bcab2bed82ff91
tree1bb772492468368201e7804e3e2eae42300378ca
parent993c913437968c18264fc985ba2664aae991781f
Die gracefully

Don't explode into a 20 line stack trace if the kll file is formatted
incorrectly. Instead simply show the error message and exit with an
error code (which will stop the rest of a make command).

A misformatted file is most likely a user error so showing the full
backtrace for debugging is not necessary. The file and line number
should (hopefully) be enough to fix the parsing error.
kll.py