mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added original error to logged error message
- without this, the original error stacktrace is hidden which makes issues harder to track down
This commit is contained in:
parent
9f93a0895e
commit
9b45ea6f7d
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,8 @@ _private.registerRoutes = () => {
|
|||
logging.error(new errors.IncorrectUsageError({
|
||||
message: i18n.t('errors.middleware.redirects.register'),
|
||||
context: err.message,
|
||||
help: 'https://ghost.org/docs/api/handlebars-themes/routing/redirects/'
|
||||
help: 'https://ghost.org/docs/api/handlebars-themes/routing/redirects/',
|
||||
err
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue