How to get an error to display when the service is calling an object and has an error.

How to get an error to display when the service is calling an object and has an error.

I had a call in the handler to a service object that then called a object and then tried to dump out the call and I had misspelled the object I did not get an error. I assume (opps) that there might be a setting in ColdBox to stop the error from showing but maybe not.

If not no problem I found a way to figure it out but I was just wondering.

Thanks,
Nathan Sr.

What did you see?

~Brad

That is it there was nothing displayed it simple skipped it completely. No error displayed. I moved the objects and called them in a test file and found I had misspelled a call in one of them.

I would guess something else was going on and it was not being called. Unless you had a try/catch you had added it, it should have stopped. Perhaps you hadn’t reinitted the framework and the new code wasn’t being called.

~Brad