diff --git a/ckan/plugins/toolkit.py b/ckan/plugins/toolkit.py index 7a00278e2f1..671449e5c86 100644 --- a/ckan/plugins/toolkit.py +++ b/ckan/plugins/toolkit.py @@ -40,7 +40,7 @@ class _Toolkit(object): 'literal', # stop tags in a string being escaped 'get_action', # get logic action function 'check_access', # check logic function authorisation - 'ActionNotFound', # action not found exception (ckan.logic.NotFound) + 'ObjectNotFound', # action not found exception (ckan.logic.NotFound) 'NotAuthorized', # action not authorized exception 'ValidationError', # model update validation error 'CkanCommand', # class for providing cli interfaces