Handle RobotNotRunningError in FFDC script

We noticed that in our env, we see throwing out exception but
doesnt impact the over all flow. FFDC should irrespective of
failure should continue and collect log as much possible.

Change-Id: Ieeb85ee8c0b57b60393b84520ef7ec2ea76dbb4e
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmc_ffdc_list.py b/lib/openbmc_ffdc_list.py
index aabf33e..8eea673 100755
--- a/lib/openbmc_ffdc_list.py
+++ b/lib/openbmc_ffdc_list.py
@@ -159,8 +159,12 @@
     },
 }
 
-platform_arch_type = os.environ.get('PLATFORM_ARCH_TYPE', '') or \
-    BuiltIn().get_variable_value("${PLATFORM_ARCH_TYPE}", default="power")
+try:
+    platform_arch_type = os.environ.get('PLATFORM_ARCH_TYPE', '') or \
+        BuiltIn().get_variable_value("${PLATFORM_ARCH_TYPE}", default="power")
+except RobotNotRunningError:
+    pass
+
 # Filter the logs based on platform type.
 if platform_arch_type == "x86":
     del FFDC_BMC_FILE['BMC FILES']['PEL_logs_list.json']