Made error message more verbose (as suggested by Clem)