Updated OperationMonitor

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-monitor-widget@99254 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-08-08 16:53:43 +00:00 committed by Giancarlo Panichi
parent edeec43f8c
commit 5b23c6c652
1 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ public class MonitorUpdater extends Timer implements MonitorDialogEventUIListene
}
protected void errorMessage(OperationMonitor result) {
Log.info("Opration Failed");
Log.info("Operation Failed");
Throwable th;
String reason = null;
String details = null;
@ -128,10 +128,10 @@ public class MonitorUpdater extends Timer implements MonitorDialogEventUIListene
String reason = null;
String details = null;
if (result.getTask().getErrorCause() != null) {
reason = "Stopped Operation";
reason = "Validations failed";
details = result.getTask().getErrorCause().getLocalizedMessage();
} else {
reason = "Stopped Operation";
reason = "Validations failed";
details = "Operation stopped";
}