Removed manual error handling.

Apparently this is no longer needed with the current versions of the
tools.
Fixed linting errors.
Merge pull request #3 from jussi-kalliokoski/fix-linting-errors

Fixed linting errors