Removed unnecessary echo of error