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

    https://github.com/apache/brooklyn-server/pull/521#discussion_r100310271
  
    --- Diff: 
camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/DslDeferredFunctionCall.java
 ---
    @@ -80,14 +80,14 @@ public Object call() throws Exception {
                 Object instance = resolvedMaybe.get();
     
                 if (instance == null) {
    -                throw new IllegalArgumentException("Deferred function 
call, " + object + 
    -                        " evaluates to null (when calling " + fnName + "(" 
+ toString(args) + "))");
    +                throw new IllegalArgumentException("Deferred function call 
not found: " + 
    +                        object + " evaluates to null (wanting to call " + 
fnName + args + "))");
    --- End diff --
    
    Miss a `(` before the `args`:
    ```java
    object + " evaluates to null (wanting to call " + fnName + "(" + args + 
"))");
    ```
    Unless you can you your `DslToStringHelpers.fn()` ? 


---
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