IVGCVSW-8112: Print caught exceptions to console in the delegate

Signed-off-by: Ciara Sookarry <ciara.sookarry@arm.com>
Change-Id: I16ef18a4d4afce0ae17c98cfb5267f51b7708539
diff --git a/delegate/opaque/src/armnn_delegate.cpp b/delegate/opaque/src/armnn_delegate.cpp
index 129bc43..2340e49 100644
--- a/delegate/opaque/src/armnn_delegate.cpp
+++ b/delegate/opaque/src/armnn_delegate.cpp
@@ -333,6 +333,9 @@
         {
             ARMNN_LOG(error) << "ArmNN Failed to visit node with error: " << ex.what();
             visitStatus = kTfLiteError;
+            TF_LITE_OPAQUE_KERNEL_LOG(tfLiteContext,
+                                      "Exception text: %s",
+                                      ex.what());
         }
 
         if (visitStatus != kTfLiteOk)