diff --git a/packages/admin-api/lib/index.js b/packages/admin-api/lib/index.js index ae4c762ce..4b1ee3e44 100644 --- a/packages/admin-api/lib/index.js +++ b/packages/admin-api/lib/index.js @@ -301,6 +301,9 @@ module.exports = function GhostAdminAPI(options) { // toThrow.response = err.response; throw toThrow; } else { + delete err.request; + delete err.config; + delete err.response; throw err; } });