Less aggressive errors from Fabrik

mattsh

Member
Hi!

It would be nice if errors from Fabrik were less aggressive. If you unpublish the Fabrik system plugin or have errors to a second db or sometimes coding errors it make the whole page show a 404 error. And from my last experience it was Fabrik module or content plugin that made that errors.

I would prefer that a error message was shown, but the rest of the page was visible. Is it possible?

Regards
Matt
 
It's possible, but a fair amount of work. It's something I'm slowly chipping away at. There's a lot of places where we throw an exception if the plugin isn't enabled, and no single place where those exceptions can be caught and gracefully handled.

As for coding errors (where PHP throws a fatal error), those are always going to 404. Query errors, it kind of depends where the query is. If it's queries you yourself are writing, in something like a form plugin, then it's up to you to catch exceptions and handle them.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top