Added verbose error reporting