started printing exception stack trace in callFunction