Improving info error on getCalledMethod