Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aran30 committed Jul 4, 2023
1 parent ec30bc3 commit 19485d4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,12 @@ public void run() {
error.put("error", e.toString());
callBack(callbackUrl, label1, label1, label2, error);
}
catch (Exception e) {
e.printStackTrace();
isActive.put(label1, false);
error.put("error", e.toString());
callBack(callbackUrl, label1, label1, label2, error);
}
}
}).start();
return true;
Expand Down Expand Up @@ -1470,7 +1476,6 @@ private ObjectId storeLocalFileRemote(String fileName, String renameFile) {
Files.delete(Paths.get("tmitocar/" + fileName));
} catch (Exception e) {
e.printStackTrace();
isActive.put(label1, false);
System.out.println("Failed storing PDF.");
}
return fileId;
Expand Down

0 comments on commit 19485d4

Please sign in to comment.