diff options
author | mconway <michael.c.conway@gmail.com> | 2013-02-21 13:40:54 (GMT) |
---|---|---|
committer | mconway <michael.c.conway@gmail.com> | 2013-02-21 13:40:54 (GMT) |
commit | 01b6276a5adb81727775f809fe2959291b2af81d (patch) | |
tree | 5b8d6dd05d3ff91ddeb13b99a22101e95a6f1a3e | |
parent | eb2bf6c1dabc4f8562c9f5a7bafb6a5134b51d5d (diff) | |
download | QCG-Data-01b6276a5adb81727775f809fe2959291b2af81d.zip QCG-Data-01b6276a5adb81727775f809fe2959291b2af81d.tar.gz QCG-Data-01b6276a5adb81727775f809fe2959291b2af81d.tar.bz2 |
[#1220] shares in home page on servers w/o specific query still show errors
-rw-r--r-- | idrop-web/application.properties | 4 | ||||
-rwxr-xr-x | idrop-web/grails-app/controllers/org/irods/mydrop/controller/HomeController.groovy | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/idrop-web/application.properties b/idrop-web/application.properties index 56c36c1..33892dc 100644 --- a/idrop-web/application.properties +++ b/idrop-web/application.properties @@ -1,8 +1,6 @@ #Grails Metadata file -#Wed Feb 13 08:58:43 EST 2013 +#Wed Feb 20 15:00:51 EST 2013 app.grails.version=2.1.1 app.name=idrop-web2 app.servlet.version=2.5 app.version=2.0.0 -plugins.tomcat=2.1.2 - diff --git a/idrop-web/grails-app/controllers/org/irods/mydrop/controller/HomeController.groovy b/idrop-web/grails-app/controllers/org/irods/mydrop/controller/HomeController.groovy index 172e81a..49c7413 100755 --- a/idrop-web/grails-app/controllers/org/irods/mydrop/controller/HomeController.groovy +++ b/idrop-web/grails-app/controllers/org/irods/mydrop/controller/HomeController.groovy @@ -1,6 +1,7 @@ package org.irods.mydrop.controller import org.irods.jargon.core.connection.IRODSAccount +import org.irods.jargon.core.exception.OperationNotSupportedByThisServerException import org.irods.jargon.core.exception.SpecificQueryException import org.irods.jargon.core.pub.IRODSAccessObjectFactory import org.irods.jargon.core.utils.MiscIRODSUtils @@ -130,6 +131,10 @@ class HomeController { log.error "speific query exception", e def message = message(code:"error.no.specific.query") response.sendError(500,message) + } catch (OperationNotSupportedByThisServerException e) { + log.error "speific query exception", e + def message = message(code:"error.no.specific.query") + response.sendError(500,message) } } @@ -158,6 +163,10 @@ class HomeController { log.error "speific query exception", e def message = message(code:"error.no.specific.query") response.sendError(500,message) + } catch (OperationNotSupportedByThisServerException e) { + log.error "speific query exception", e + def message = message(code:"error.no.specific.query") + response.sendError(500,message) } |