diff options
Diffstat (limited to 'cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py')
-rw-r--r-- | cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py b/cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py deleted file mode 100644 index 672492d..0000000 --- a/cds-regression-test/cba/remote-python/Scripts/python/FailingRemotePython.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/python - -import sys -from cds_utils.payload_coder import send_response_data_payload - -if __name__ == "__main__": - try: - raise Exception("Intentionally raised exception!") - except Exception as e: - print("Intentionally raised exception!") - resp_data = { - "errorMessage": "Intentionally raised exception!" - } - send_response_data_payload(resp_data) - sys.exit(1) |