From e000e09446f6af4c64d79e6307c514fc8dd1de5b Mon Sep 17 00:00:00 2001 From: tauseef-a <40712942+tauseef-a@users.noreply.github.com> Date: Tue, 28 Sep 2021 17:19:44 +0530 Subject: [PATCH 1/2] Update create_threads.py --- scripts/create_threads.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/create_threads.py b/scripts/create_threads.py index 241436c..0ccad6b 100644 --- a/scripts/create_threads.py +++ b/scripts/create_threads.py @@ -12,6 +12,11 @@ def HelloWorld(): """User defined Thread function""" print "Hello World" + try: + print("Exception") + i=1/0 + except: + pass return From c9798f24683a597c3e4756a0e3e28c7bb0e363db Mon Sep 17 00:00:00 2001 From: tauseef-a <40712942+tauseef-a@users.noreply.github.com> Date: Tue, 28 Sep 2021 17:23:16 +0530 Subject: [PATCH 2/2] Update create_threads.py --- scripts/create_threads.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/create_threads.py b/scripts/create_threads.py index 0ccad6b..7484c6f 100644 --- a/scripts/create_threads.py +++ b/scripts/create_threads.py @@ -12,9 +12,11 @@ def HelloWorld(): """User defined Thread function""" print "Hello World" + try: print("Exception") i=1/0 + i=i/0 except: pass return