Added configuratión for local_env.
Delete raise exception.