mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
Return exit(1) if application-java fails
If application-java fails, return an exit(1) code, so that callers such as Github Actions CI can detect the failure. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
parent
199e290f5e
commit
b4f4ad914b
1 changed files with 3 additions and 2 deletions
|
|
@ -110,6 +110,7 @@ public class App {
|
||||||
}
|
}
|
||||||
catch(Exception e){
|
catch(Exception e){
|
||||||
System.err.println(e);
|
System.err.println(e);
|
||||||
|
System.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue