Update SPdfApplication.java (#853)

* Update SPdfApplication.java

* Update SPdfApplication.java

* Update SPdfApplication.java

---------

Co-authored-by: Eric <71648843+sbplat@users.noreply.github.com>
This commit is contained in:
Parth P Shah 2024-02-25 01:52:47 +05:30 committed by GitHub
parent 5bd544dcd7
commit af68c70239
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,8 @@ public class SPdfApplication {
try { try {
Thread.sleep(1000); Thread.sleep(1000);
} catch (InterruptedException e) { } catch (InterruptedException e) {
throw new InterruptedException("Error"); Thread.currentThread().interrupt();
throw new RuntimeException("Thread interrupted while sleeping", e);
} }
try { try {