0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed max call stack error on error controller

no issue

- getter for `error` should return the model, not itself 🤦🏻‍♂️
This commit is contained in:
Kevin Ansfield 2022-10-07 19:46:30 +01:00
parent 717e89113c
commit 0a827dfb47

View file

@ -4,7 +4,7 @@ export default class ErrorController extends Controller {
stack = false;
get error() {
return this.error;
return this.model;
}
get code() {