Adds logging to the RteEmbedController when there's an exception, instead of silently swallowing the error