error-handler icon indicating copy to clipboard operation
error-handler copied to clipboard

Make HTML page customizable

Open roxblnfk opened this issue 2 years ago • 3 comments

It would be nice to be able to customize the appearance of the HTML error page. I mean the CSS style block (colors) and footer markup.

roxblnfk avatar Apr 19 '23 08:04 roxblnfk

Can't you do it with https://github.com/yiisoft/error-handler/blob/master/src/Renderer/HtmlRenderer.php#L106?

samdark avatar Apr 19 '23 09:04 samdark

No, I can't. Look at this https://github.com/spiral-packages/yii-error-handler-bridge/pull/7 We need to change all the template and copy the JS file when we want to just replace the color set and logo

roxblnfk avatar Apr 19 '23 09:04 roxblnfk

OK. Makes sense.

samdark avatar Apr 19 '23 15:04 samdark