Changeset 2013 for trunk/grails-app


Ignore:
Timestamp:
Sep 12, 2011, 12:19:03 PM (8 years ago)
Author:
taco@…
Message:

VisualizeController?.groovy, changed some infoMessages to be more user friendly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/visualization/VisualizeController.groovy

    r2012 r2013  
    184184        } catch(Exception e){
    185185            //returnError(404, "An error occured while trying to collect field data from a module. Most likely, this module is offline.")
    186             infoMessage = "An error occured while trying to collect field data from a module. Most likely, this module is offline."
     186            infoMessage = "Unfortunately, "+assay.module.name+" could not be reached. As a result, we cannot at this time visualize data contained in this module."
    187187            log.error("VisualizationController: getFields: "+e)
    188188        }
     
    435435            } catch(Exception e){
    436436                log.error("VisualizationController: getFields: "+e)
    437                 return returnError(404, "An error occured while trying to collect data from a module. Most likely, this module is offline.")
     437                //return returnError(404, "An error occured while trying to collect data from a module. Most likely, this module is offline.")
     438                return returnError(404, "Unfortunately, "+assay.module.name+" could not be reached. As a result, we cannot at this time visualize data contained in this module.")
    438439            }
    439440        } else {
Note: See TracChangeset for help on using the changeset viewer.