made error message more verbose