Is there a problem with argument ordering in HOOKS_CALLOUT_ERROR and HOOKS_CALLOUT_EXCEPTION?
Shawn R. writes, on Support #18870:
The arguments to the error messages for HOOKS_CALLOUT_ERROR and HOOKS_CALLOUT_EXCEPTION are in the wrong order. The first two argument (index and hook point) provided by the code (callout_manager.cc:call_callouts() are swapped compared to the messages.
You may want to change the order in the message to make them consistent with HOOKS_CALLOUT_CALLED.
I presume a determination will be fairly easy to reach on the option-ordering issue (though it may be sticky to fix depending on how many are already using the current ordering.) But he came across this while in the process of troubleshooting a customer issue for his employers. Since that comprises a separate issue, I have broken it out into a separate ticket, #2021.