diff options
author | Kinney, Michael D <michael.d.kinney@intel.com> | 2018-07-29 10:01:37 -0700 |
---|---|---|
committer | Kinney, Michael D <michael.d.kinney@intel.com> | 2018-08-02 14:35:28 -0700 |
commit | e49eee4c51a6cb8b2f35735e375c211c41d9f6cb (patch) | |
tree | 4ca741f7910272a8070413a9ca5fa0043842c020 /BaseTools/Source/Python | |
parent | d6f079b600cc88367c20b5eec5a28d28d3ceaca8 (diff) | |
download | edk2-e49eee4c51a6cb8b2f35735e375c211c41d9f6cb.tar.gz edk2-e49eee4c51a6cb8b2f35735e375c211c41d9f6cb.tar.bz2 edk2-e49eee4c51a6cb8b2f35735e375c211c41d9f6cb.zip |
BaseTools/Capsule: Prevent traceback during signing operations
https://bugzilla.tianocore.org/show_bug.cgi?id=1046
https://bugzilla.tianocore.org/show_bug.cgi?id=1048
https://bugzilla.tianocore.org/show_bug.cgi?id=1050
Remove raise statements that generate Tracebacks that were only
intended for development/debug. With the raise statements removed
proper error messages are shown.
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
-rw-r--r-- | BaseTools/Source/Python/Capsule/GenerateCapsule.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/Capsule/GenerateCapsule.py b/BaseTools/Source/Python/Capsule/GenerateCapsule.py index d829000849..42cd1fb8ba 100644 --- a/BaseTools/Source/Python/Capsule/GenerateCapsule.py +++ b/BaseTools/Source/Python/Capsule/GenerateCapsule.py @@ -408,7 +408,6 @@ if __name__ == '__main__': )
except:
print ('GenerateCapsule: error: can not sign payload')
- raise
sys.exit (1)
try:
@@ -496,7 +495,6 @@ if __name__ == '__main__': print ('========')
except:
print ('GenerateCapsule: error: can not decode capsule')
- raise
sys.exit (1)
elif args.DumpInfo:
|