|
|
@@ -64,6 +64,7 @@ import com.xjrsoft.module.workflow.vo.*;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import lombok.SneakyThrows;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import me.zhyd.oauth.log.Log;
|
|
|
import org.apache.commons.lang3.tuple.ImmutableTriple;
|
|
|
import org.apache.commons.lang3.tuple.Triple;
|
|
|
import org.camunda.bpm.engine.HistoryService;
|
|
|
@@ -2237,9 +2238,10 @@ public class WorkflowExecuteServiceImpl implements IWorkflowExecuteService {
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
if (e.getMessage().contains("sequence flow")) {
|
|
|
+ Log.error(e.getMessage(), e);
|
|
|
throw new MyException("流转条件错误,请检查流转条件设置!");
|
|
|
} else {
|
|
|
-
|
|
|
+ Log.error(e.getMessage(), e);
|
|
|
throw new MyException("表单提交错误, 请联系系统管理员!");
|
|
|
}
|
|
|
}
|