Skip to content

Commit

Permalink
Marked code property for removal in Ghost 4.0
Browse files Browse the repository at this point in the history
refs TryGhost/gscan#144
refs TryGhost/gscan#259

- The property hasn't been marked correctly in Ghsot 2.0 so will be able to go away the earliest in Ghost 4.0
  • Loading branch information
naz committed Sep 19, 2019
1 parent fb1b207 commit cc8f9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/web/shared/middlewares/error-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ _private.ThemeErrorRenderer = (err, req, res, next) => {
// Format Data
const data = {
message: err.message,
// @deprecated Remove in Ghost 3.0
// @deprecated Remove in Ghost 4.0
code: err.statusCode,
statusCode: err.statusCode,
errorDetails: err.errorDetails || []
Expand Down

0 comments on commit cc8f9bc

Please sign in to comment.