Error modal doesn't show WordPress debug logs
adamziel opened this issue · comments
The error modal showing on a failed Blueprint execution only shows the JavaScript errors but no PHP errors. However, the most useful debugging information are often in the PHP code.
cc @bgrgicak
This could be just a frontend issue. We should check if the PHP logs are printed in the console. If yes, then React didn't pick up the latest data. If no then the PHP logs weren't even sent to the logger from PHP-WASM.
They are printed in the console
@adamziel how are you testing this?
When I add a unknown function to a blueprint, it fails, but there are no PHP logs in the browser console.
At the time request.error
is dispatched there is no error log file in my blueprint example.
This means that no PHP logs were recorded.