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:
parent
717e89113c
commit
0a827dfb47
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ export default class ErrorController extends Controller {
|
||||||
stack = false;
|
stack = false;
|
||||||
|
|
||||||
get error() {
|
get error() {
|
||||||
return this.error;
|
return this.model;
|
||||||
}
|
}
|
||||||
|
|
||||||
get code() {
|
get code() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue