Github user neykov commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/705#discussion_r33142977
  
    --- Diff: utils/common/src/main/java/brooklyn/util/yaml/Yamls.java ---
    @@ -350,7 +351,11 @@ public String getMatchedYamlTextOrWarn() {
                     if (e instanceof KnownClassVersionException) {
                         log.debug("Known class version exception; no yaml text 
being matched for "+this+": "+e);
                     } else {
    -                    log.warn("Unable to match yaml text in "+this+": "+e, 
e);
    +                    if (e instanceof UserFacingException) {
    +                        log.warn("Unable to match yaml text in "+this+": 
"+e.getMessage());
    --- End diff --
    
    nitpick: The stack trace would still be useful in the debug log.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to