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:
parent
edeec43f8c
commit
5b23c6c652
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue