From: Jérémie Galarneau Date: Thu, 8 Jun 2023 18:20:09 +0000 (-0400) Subject: Wrap main functions to handle uncaught exceptions X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=d5ed3e6f3a8b52d7f2a3e2277873e0f1914ba515;hp=d5ed3e6f3a8b52d7f2a3e2277873e0f1914ba515;p=lttng-tools.git Wrap main functions to handle uncaught exceptions Coverity reports multiple instances where formatting facilities can throw (e.g. invalid format string). A wrapper to handle formatting exceptions is added in a follow-up change, but it is a good practice to catch exceptions at the top level nonetheless. Reported-by: Coverity Scan Signed-off-by: Jérémie Galarneau Change-Id: Ie55af338b9ef1f7d6e8825055cfc2e7037cdd80e ---