We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06bf336 commit ef9e313Copy full SHA for ef9e313
src/net/preibisch/fusiontask/task/MainJob.java
@@ -50,13 +50,19 @@ public MainJob() {
50
51
@Override
52
public Void call() throws Exception {
53
- try {id = id -1;
54
-
+ try {
+
55
+ try{id = id -1;
56
+ }catch(Exception e) {
57
+ KafkaManager.error(-1,e.toString());
58
+ System.out.println("Error id");
59
+ throw new Exception("Specify id!");
60
+ }
61
TaskType type = TaskType.of(task);
62
switch (type) {
63
case PREPARE:
64
generateN5(input, metadataPath, output, id);
- return null;
65
+ return null;
66
case PROCESS:
67
blockTask(input, metadataPath, output, id);
68
return null;
0 commit comments