Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-59467 core: Use hasHelper instead of catching exception
When xdebug is set to break on exceptions it stops on all exceptions, including _caught_ exceptions. As a result we regularly hit this uniqid helper issue if debugging with xdebug. The solution is to check if the helper exists using the hasHelper method instead of catching an exception when it does not exist.
- Loading branch information