Added error logging on failed load