0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core
David Arvelo f6dd851ffb Fix promise rejection
fixes #3013
- bubble promise rejection on post model validation/save error so that it doesn't bubble as resolved
- prefer `.catch()` for promise handlers as per recommendations
- check if `.save()` is being called from model.destroyRecord() and forgo validation if so
- normalize output for both `.validate()` and `.save()`
2014-06-22 14:49:09 -04:00
..
client Fix promise rejection 2014-06-22 14:49:09 -04:00
clientold User API changes 2014-06-20 11:15:01 +02:00
server Merge pull request #2995 from sebgie/issue#2822 2014-06-20 18:39:33 +01:00
shared Improving the showdown extensions 2014-03-20 17:08:13 +00:00
test Improving Casper test error reporting 2014-06-21 15:17:38 +01:00
bootstrap.js Improve error handling during bootstrap process 2014-06-19 12:59:16 +00:00
index.js Improve error handling during bootstrap process 2014-06-19 12:59:16 +00:00
server.js Shims for deleted (refactored away) files 2014-01-09 09:21:09 -06:00