0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Changed context used in error to help

refs #10571

- The context should provide the context in which the error has happened instead current value was more suited to purposes of help
This commit is contained in:
Nazar Gargol 2019-04-23 09:31:24 +02:00
parent cea598597b
commit 63337dd823

View file

@ -76,7 +76,7 @@ DataImporter = {
if (!semver.valid(importData.meta.version)) {
return Promise.reject(new common.errors.InternalServerError({
message: 'Detected unsupported file structure.',
context: 'Please install Ghost 1.0, import the file and then update your blog to Ghost 2.0.\nVisit https://docs.ghost.org/faq/upgrade-to-ghost-1-0 or ask for help in our https://forum.ghost.org.'
help: 'Please install Ghost 1.0, import the file and then update your blog to Ghost 2.0.\nVisit https://docs.ghost.org/faq/upgrade-to-ghost-1-0 or ask for help in our https://forum.ghost.org.'
}));
}