CORE-12019 Capture CPI build errors simple impl from Graham

This commit is contained in:
Emil Gabrovski 2023-03-27 10:43:42 +03:00 committed by egabrovski-r3
parent d12f25b300
commit 3fd97cf393

View File

@ -217,6 +217,12 @@ public class BuildCPIsHelper {
// } // }
// fileWriter.close(); // fileWriter.close();
// todo: in the meantime, here is a simple working impl
//Get CPI packaging errors
if (proc.getErrorStream().available() > 0) {
proc.getErrorStream().transferTo(pc.out);
}
} }
private void createNotaryCPI() throws CsdeException, IOException, InterruptedException { private void createNotaryCPI() throws CsdeException, IOException, InterruptedException {