Add fallback for to_yaml method
The following discussion from !149338 (merged) should be addressed:
-
@arfedoro started a discussion: (+1 comment) thought (non-blocking)
🤔 Since
policyToYaml
uses safeDump fromjs-yaml
package, do you think we need to wrap it intry catch
block?