[ckan-changes] [okfn/ckan] 0a9216: [#1010] Catch NotFound on new resource when packag...
GitHub
noreply at github.com
Fri Jun 14 16:55:55 UTC 2013
Branch: refs/heads/1010-server-error-on-new-resource-if-package-does-not-exist
Home: https://github.com/okfn/ckan
Commit: 0a9216b87b56d6da61208937218deb118085bb31
https://github.com/okfn/ckan/commit/0a9216b87b56d6da61208937218deb118085bb31
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2013-06-14 (Fri, 14 Jun 2013)
Changed paths:
M ckan/controllers/package.py
Log Message:
-----------
[#1010] Catch NotFound on new resource when package does not exist
Catch ckan.logic.NotFound exceptions raised when trying to create a new
resource for a package that doesn't exist. This turns a 500 Server Error
into a proper 404 Not Found. Fixes #1010.
More information about the ckan-changes
mailing list