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:
parent
5bd544dcd7
commit
af68c70239
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue