Sfoglia il codice sorgente

chore: add log on catched exception

fix/NullPointer-Exceptions
Gabriele Zigurella 2 anni fa
parent
commit
72a64f2fd5
  1. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/ManutenzioneDatabase.java

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/mwg/sismica/bo/util/ManutenzioneDatabase.java

@ -1089,7 +1089,9 @@ public class ManutenzioneDatabase {
try {
instance = WorkflowInstanceManagerUtil.getWorkflowInstance(link.getCompanyId(),
link.getWorkflowInstanceId());
} catch (PortalException e) {}
} catch (PortalException e) {
_log.error(e, e);
}
if (Validator.isNull(instance)) {
WorkflowInstanceLinkLocalServiceUtil.deleteWorkflowInstanceLink(link);
} else {

Caricamento…
Annulla
Salva