Unclear Method Call Error

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
JefferyD
Posts: 178
Joined: August 31st, 2021, 11:37 am
Contact:

Unclear Method Call Error

Unread post by JefferyD »

Errors that occur in a service that calls a method or submethod seem to suggest that the error happened inside of the method instead of the service itself. Would it be possible to tell the developer more clearly that the error occurred in the method call service and not in the method itself?


For example, when I forgot to give an "Output" node in the submethod call service a name, I got "Error in CallSubMethod. See inner exception." in the logs. I was really confused when the submethod itself showed no errors though.
Method Call Missing Output Name.png

For comparison, this is the error when a node name is blank for a CreateServiceNode service.
Service Missing Node Name.png
word count: 109

Tags:
SumanPrasad
Posts: 88
Joined: August 26th, 2021, 5:21 pm
Contact:

Re: Unclear Method Call Error

Unread post by SumanPrasad »

Task 10318 is created to address this. Now you will get explicit exception thrown showing exact error.
word count: 17
SteveCap
Posts: 329
Joined: August 26th, 2021, 9:18 am
Contact:

Re: Unclear Method Call Error

Unread post by SteveCap »

This issue should have been resolved with a later version of EASYProcess.
word count: 12
Post Reply