Added exception for missing category and removed trailing whitespace
Merge branch 'master' of https://github.com/paulosborne/theo