Fixed a missing paren, added more verbose error message