-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed bluebird catch predicates from API endpoints
refs: #14882 - I found a common pattern where catch predicates were being used to catch non-existent models in destroy methods, and sometimes elsewhere in the API endpoints - The use of predicates is deprecated, and we're working to remove them from everywhere, so that we can remove bluebird - In order to still handle these errors correctly, we needed a small change to mw-error-handler so that it can detect EmptyResponse errors from bookshelf, as well as 404s Note: there is a small change as a result of this - the context on these errors now says "Resource not found" instead of "{ModelName} not found". - I think this is acceptable for now, as we will be reviewing these errors in more depth later. It's quite easy to make changes, we just have to decide what with proper design input
- v5.105.0
- v5.104.2
- v5.104.1
- v5.104.0
- v5.103.0
- v5.102.0
- v5.101.6
- v5.101.5
- v5.101.4
- v5.101.3
- v5.101.2
- v5.101.1
- v5.101.0
- v5.100.1
- v5.100.0
- v5.99.1
- v5.99.0
- v5.98.1
- v5.98.0
- v5.97.3
- v5.97.2
- v5.97.1
- v5.97.0
- v5.96.2
- v5.96.1
- v5.96.0
- v5.95.0
- v5.94.2
- v5.94.1
- v5.94.0
- v5.93.0
- v5.92.0
- v5.91.0
- v5.90.2
- v5.90.1
- v5.90.0
- v5.89.6
- v5.89.5
- v5.89.4
- v5.89.3
- v5.89.2
- v5.89.1
- v5.89.0
- v5.88.3
- v5.88.2
- v5.88.1
- v5.88.0
- v5.87.3
- v5.87.2
- v5.87.1
- v5.87.0
- v5.86.2
- v5.86.1
- v5.86.0
- v5.85.2
- v5.85.1
- v5.85.0
- v5.84.2
- v5.84.1
- v5.84.0
- v5.83.0
- v5.82.12
- v5.82.11
- v5.82.10
- v5.82.9
- v5.82.8
- v5.82.7
- v5.82.6
- v5.82.5
- v5.82.4
- v5.82.3
- v5.82.2
- v5.82.1
- v5.82.0
- v5.81.1
- v5.81.0
- v5.80.5
- v5.80.4
- v5.80.3
- v5.80.2
- v5.80.1
- v5.80.0
- v5.79.6
- v5.79.5
- v5.79.4
- v5.79.3
- v5.79.2
- v5.79.1
- v5.79.0
- v5.78.0
- v5.77.0
- v5.76.2
- v5.76.1
- v5.76.0
- v5.75.3
- v5.75.2
- v5.75.1
- v5.75.0
- v5.74.5
- v5.74.4
- v5.74.3
- v5.74.2
- v5.74.1
- v5.74.0
- v5.73.2
- v5.73.1
- v5.73.0
- v5.72.2
- v5.72.1
- v5.72.0
- v5.71.2
- v5.71.1
- v5.71.0
- v5.70.2
- v5.70.1
- v5.70.0
- v5.69.4
- v5.69.3
- v5.69.2
- v5.69.1
- v5.69.0
- v5.68.0
- v5.67.1
- v5.67.0
- v5.66.1
- v5.66.0
- v5.65.1
- v5.65.0
- v5.64.0
- v5.63.0
- v5.62.0
- v5.61.3
- v5.61.2
- v5.61.1
- v5.61.0
- v5.60.0
- v5.59.4
- v5.59.3
- v5.59.2
- v5.59.1
- v5.59.0
- v5.58.0
- v5.57.3
- v5.57.2
- v5.57.1
- v5.57.0
- v5.56.1
- v5.56.0
- v5.55.2
- v5.55.1
- v5.55.0
- v5.54.4
- v5.54.3
- v5.54.2
- v5.54.1
- v5.54.0
- v5.53.4
- v5.53.3
- v5.53.2
- v5.53.1
- v5.53.0
- v5.52.3
- v5.52.2
- v5.52.1
- v5.52.0
- v5.51.2
- v5.51.1
- v5.51.0
- v5.50.4
- v5.50.3
- v5.50.2
- v5.50.1
- v5.50.0
- v5.49.3
- v5.49.2
- v5.49.1
- v5.49.0
- v5.48.1
- v5.48.0
- v5.47.2
- v5.47.1
- v5.47.0
- v5.46.1
- v5.46.0
- v5.45.1
- v5.45.0
- v5.44.0
- v5.43.0
- v5.42.3
- v5.42.2
- v5.42.1
- v5.42.0
- v5.41.0
- v5.40.2
- v5.40.1
- v5.40.0
- v5.39.0
- v5.38.0
- v5.37.0
- v5.36.1
- v5.36.0
- v5.35.1
- v5.35.0
- v5.34.1
- v5.34.0
- v5.33.8
- v5.33.7
- v5.33.6
- v5.33.5
- v5.33.4
- v5.33.3
- v5.33.2
- v5.33.1
- v5.33.0
- v5.32.0
- v5.31.0
- v5.30.1
- v5.30.0
- v5.29.0
- v5.28.0
- v5.27.0
- v5.26.4
- v5.26.3
- v5.26.2
- v5.26.1
- v5.26.0
- v5.25.5
- v5.25.4
- v5.25.3
- v5.25.2
- v5.25.1
- v5.25.0
- v5.24.2
- v5.24.1
- v5.24.0
- v5.23.0
- v5.22.11
- v5.22.10
- v5.22.9
- v5.22.8
- v5.22.7
- v5.22.6
- v5.22.5
- v5.22.4
- v5.22.3
- v5.22.2
- v5.22.1
- v5.22.0
- v5.21.0
- v5.20.0
- v5.19.3
- v5.19.2
- v5.19.1
- v5.19.0
- v5.18.0
- v5.17.2
- v5.17.1
- v5.17.0
- v5.16.2
- v5.16.1
- v5.16.0
- v5.15.0
- v5.14.2
- v5.14.1
- v5.14.0
- v5.13.2
- v5.13.1
- v5.13.0
- v5.12.4
- v5.12.3
- v5.12.2
- v5.12.1
- v5.12.0
- v5.11.0
- @tryghost/signup-form@0.1.3
- @tryghost/signup-form@0.1.2
- @tryghost/signup-form@0.1.1
- @tryghost/signup-form@0.1.0
- @tryghost/signup-form@0.0.3
- @tryghost/signup-form@0.0.2
- @tryghost/signup-form@0.0.1
- @tryghost/portal@2.37.0
- @tryghost/portal@2.36.5
- @tryghost/portal@2.33.4
- @tryghost/portal@2.33.3
- @tryghost/portal@2.33.2
- @tryghost/portal@2.33.1
- @tryghost/portal@2.33.0
- @tryghost/portal@2.32.0
- @tryghost/portal@2.31.2
- @tryghost/portal@2.31.1
- @tryghost/portal@2.31.0
- @tryghost/portal@2.30.2
- @tryghost/portal@2.30.1
- @tryghost/portal@2.30.0
- @tryghost/portal@2.29.3
- @tryghost/portal@2.29.2
- @tryghost/portal@2.29.1
- @tryghost/portal@2.29.0
- @tryghost/portal@2.28.1
- @tryghost/portal@2.28.0
- @tryghost/portal@2.27.0
- @tryghost/portal@2.26.0
- @tryghost/portal@2.25.0
- @tryghost/portal@2.24.1
- @tryghost/portal@2.24.0
- @tryghost/portal@2.23.0
- @tryghost/portal@2.22.0
- @tryghost/portal@2.21.0
- @tryghost/portal@2.20.3
- @tryghost/portal@2.20.2
- @tryghost/portal@2.20.1
- @tryghost/portal@2.20.0
- @tryghost/portal@2.19.9
- @tryghost/portal@2.19.8
- @tryghost/portal@2.19.7
- @tryghost/portal@2.19.6
- @tryghost/portal@2.19.5
- @tryghost/portal@2.19.3
- @tryghost/portal@2.18.0
- @tryghost/portal@2.17.0
- @tryghost/portal@2.16.0
- @tryghost/portal@2.15.0
- @tryghost/portal@2.14.0
- @tryghost/portal@2.13.2
- @tryghost/comments-ui@0.13.0
- @tryghost/announcement-bar@1.1.7
- @tryghost/announcement-bar@1.1.6
- @tryghost/admin-x-settings@0.0.8
- @tryghost/admin-x-settings@0.0.7
- @tryghost/admin-x-settings@0.0.6
- @tryghost/admin-x-settings@0.0.5
- @tryghost/admin-x-settings@0.0.4
- @tryghost/admin-x-settings@0.0.3
- @tryghost/admin-x-settings@0.0.2
Showing
22 changed files
with
479 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters