Add ignore check to clearing error log for backward compatibility

The idea of the setup here is to clear logs if avaialble. This is
a canditate for future HW CI code update for upstream. If it works,
good enough else continue with update.

Change-Id: I10a53927e2b9c26095380cb08d731eca2ef7799b
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/extended/redfish_bmc_code_update.robot b/redfish/extended/redfish_bmc_code_update.robot
index 1cadb6e..be54c3b 100644
--- a/redfish/extended/redfish_bmc_code_update.robot
+++ b/redfish/extended/redfish_bmc_code_update.robot
@@ -53,7 +53,7 @@
     Redfish.Login
     # Delete BMC dump and Error logs.
     Delete All BMC Dump
-    Redfish Purge Event Log
+    Run Keyword And Ignore Error  Redfish Purge Event Log
     # Checking for file existence.
     Valid File Path  IMAGE_FILE_PATH