[ckan-changes] [okfn/ckan] 0a9216: [#1010] Catch NotFound on new resource when packag...
GitHub
noreply at github.com
Mon Jun 17 13:19:30 UTC 2013
Branch: refs/heads/master
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