Ryan Cramer
Ryan Cramer
@adrianbj Okay I think I understand. Since you want Tracy to handle the exception, I think that it just needs to re-throw it then, so that Tracy's catch(...) can capture...
@adrianbj I still don't follow 100% but am getting there. > this doesn't work in all situations like the above noted "WirePermissionException" where I still get the string instead of...
@adrianbj Thanks, that definitely helps. I think it comes down to a couple of catch statements in /wire/core/admin.php. First is the one for WirePermissionException: https://github.com/processwire/processwire/blob/master/wire/core/admin.php#L170 Then is the fallback for...
@adrianbj In looking at this further, I found that I was barking up the wrong tree before. It turns out I had this in my site/init.php file on my test...
@adrianbj I seem to be coming back full circle, but just noticed the`$config->allowExceptions` seems to be what makes the difference on my install. (Another thing I had set differently than...
@adrianbj Great! Thanks, glad that works.
@adrianbj I don't think it is particularly useful for those to be logged, but when the Exceptions log is enabled then it'll log all exceptions, and it doesn't know which...
Thanks for the refresh, I had meant to make this configurable a long time ago. I'll add a `$config->userOutputFormatting = false;` configuration option so that you can optionally set it...
Thanks, I've pushed an update that uses @craigrodway suggestion and also updated the module to be PW 3.x native. Though haven't been able to test properly as my previous maps...
Sounds worthwhile to me. Though WireCache is part of the boot process, before modules are even loaded, and it manages caches for the Modules class that is used during boot....