Replaced logging severe errros with Failure creation