Mercurial > hg > release > thermostat-0.4
changeset 643:b1f98c2a17d5
Fix error message when storage already started.
There was a problem with a missing key, which prevented better error messages
to show up. It was only showing "error starting db". With this fix it also
tells the user that storage is already running.
Reviewed-by: omajid
Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-September/003471.html
author | Severin Gehwolf <sgehwolf@redhat.com> |
---|---|
date | Fri, 28 Sep 2012 16:40:23 +0200 |
parents | 74cc8134e87f |
children | 394f8798ad69 |
files | agent/cli/src/main/resources/com/redhat/thermostat/agent/cli/impl/strings.properties |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/agent/cli/src/main/resources/com/redhat/thermostat/agent/cli/impl/strings.properties Fri Sep 28 15:23:01 2012 +0200 +++ b/agent/cli/src/main/resources/com/redhat/thermostat/agent/cli/impl/strings.properties Fri Sep 28 16:40:23 2012 +0200 @@ -16,6 +16,7 @@ ERROR_STARTING_DB = error starting db STORAGE_ALREADY_RUNNING = Storage is already running. Please use "agent --start" to start the agent +STORAGE_ALREADY_RUNNING_WITH_PID = Storage is already running with pid {0} SERVER_SHUTDOWN_COMPLETE = server shutdown complete: {0} LOG_FILE_AT = log file is here: {0} CANNOT_START_SERVER = cannot start server {0}, exit status: {1}. Please check that your configuration is valid