made convertDia blocking
Build Docker Image / Docker-Build (push) Successful in 39s
Build Docker Image / Clean-Registry (push) Successful in 5s

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-09-25 08:43:48 +02:00
parent 4fb6833645
commit 561b337b23
@@ -60,8 +60,8 @@ public class FileModule extends BaseHandler implements FileService {
var dest = source+".svg";
String[] command = {"dia","-e",dest,source.toString()};
try {
Runtime.getRuntime().exec(command);
} catch (IOException e) {
Runtime.getRuntime().exec(command).waitFor();
} catch (IOException | InterruptedException e) {
LOG.log(WARNING,"Failed to convert {} to SVG file",source,e);
}