Fixed up the error Handling a bit. Added the entry as failed.