remove a debug println
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/dd7a2973 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/dd7a2973 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/dd7a2973 Branch: refs/heads/0.4.0 Commit: dd7a2973c85a1fe453bc448c40b988ea3e8834cc Parents: fb18aed Author: Alex Heneveld <[email protected]> Authored: Wed Sep 12 08:30:37 2012 -0700 Committer: Alex Heneveld <[email protected]> Committed: Wed Sep 12 08:30:37 2012 -0700 ---------------------------------------------------------------------- .../controllers/brooklyn/web/console/EntityController.groovy | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/dd7a2973/usage/web-console/grails-app/controllers/brooklyn/web/console/EntityController.groovy ---------------------------------------------------------------------- diff --git a/usage/web-console/grails-app/controllers/brooklyn/web/console/EntityController.groovy b/usage/web-console/grails-app/controllers/brooklyn/web/console/EntityController.groovy index ca754c2..436fc58 100644 --- a/usage/web-console/grails-app/controllers/brooklyn/web/console/EntityController.groovy +++ b/usage/web-console/grails-app/controllers/brooklyn/web/console/EntityController.groovy @@ -189,9 +189,6 @@ class EntityController { render entityService.getTasksOfEntity(params.id) as JSON } catch (NoSuchEntity e) { render(status: 404, text: '{message: "Entity with specified id '+params.id+' does not exist"}') - } catch (StringIndexOutOfBoundsException e) { - println "ERROR returning 404, but tasks fyi are "+entityService.getTasksOfEntity(params.id); - render(status: 404, text: '{message: "Entity with specified id '+params.id+' caused error rendering as json"}') } }
