Skip to content

Commit dfe8a05

Browse files
author
Jim Robinson
committed
Catch typeerror when parsing json
1 parent 6a7d56c commit dfe8a05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

croudtech_bootstrap_app/bootstrap.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ def parse_value(self, value):
227227
parsed_value = json.dumps(json.loads(value))
228228
except json.decoder.JSONDecodeError:
229229
parsed_value = value
230+
except TypeError:
231+
parsed_value = value
230232
return str(parsed_value).strip()
231233

232234
def cleanup_secrets(self):

0 commit comments

Comments
 (0)