Marked code property for removal in Ghost 4.0

refs https://github.com/TryGhost/gscan/issues/144
refs https://github.com/TryGhost/gscan/pull/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
This commit is contained in:
Nazar Gargol 2019-09-19 12:15:17 +02:00
parent fb1b207db9
commit cc8f9bcb98

View File

@ -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 || []