Add debug level log message when afform submissions catch exceptions
authorRich Lott / Artful Robot <code.commits@artfulrobot.uk>
Wed, 5 Jul 2023 15:57:47 +0000 (16:57 +0100)
committerRich Lott / Artful Robot <code.commits@artfulrobot.uk>
Wed, 5 Jul 2023 15:57:47 +0000 (16:57 +0100)
commited2077175662d0054494fa37b76c9596f8be9119
treed2ec0c2a89d5557e8a46eb5022cd24b93f267df0
parent1af0d6a9ba5dfc9c0bea0964415c1c38c30670d4
Add debug level log message when afform submissions catch exceptions

The code comments suggest we don't really know what to do here,
previously we did nothing, which was not helpful to a developer
trying to figure out why their code did nothing.

Now we emit the exception's message to the log file.
ext/afform/core/Civi/Api4/Action/Afform/Submit.php