This log still needs to be updated to include the stack trace of the error.