You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 31, 2025. It is now read-only.
logger.warning(f"[{socket.gethostname()}] Offline, using placeholder value for {parameter_name}.")
197
199
value=OFFLINE_VALUE
198
200
else:
199
-
value=_get_ssm_client().get_parameter(
200
-
Name=parameter_name,
201
-
WithDecryption=True
202
-
)['Parameter']['Value']
201
+
try:
202
+
value=_get_ssm_client().get_parameter(
203
+
Name=parameter_name,
204
+
WithDecryption=True
205
+
)['Parameter']['Value']
206
+
exceptEndpointConnectionErrorase:
207
+
raiseRuntimeError(
208
+
"clrenv could not connect to AWS to fetch parameters. If you're developing locally, try setting the offline environment variable (CLRENV_OFFLINE_DEV) to use placeholder values.")
0 commit comments