atrace-helper: Fix an uncatched exception 84/318684/1 accepted/tizen_unified_x_asan accepted/tizen/unified/20250124.105412 accepted/tizen/unified/x/20250125.012756 accepted/tizen/unified/x/asan/20250211.003203
authorSung-hun Kim <sfoon.kim@samsung.com>
Wed, 22 Jan 2025 06:16:25 +0000 (15:16 +0900)
committerSung-hun Kim <sfoon.kim@samsung.com>
Wed, 22 Jan 2025 06:16:25 +0000 (15:16 +0900)
commit0616f25fb8c8e410fc19b758cf40bffb42015586
tree03c1b455afe1eacaaa2909c98f3c1b1661ee840a
parent4bfa267b1f36efbc7ad772311fcedd35c6b78e93
atrace-helper: Fix an uncatched exception

The topmost function can raise std::bad_function_call exception.
Due to the ease of exception handling, the main function handles the exception.
This patch fixes a coverity issue (issue number: 1841863).

Change-Id: If70beacd705adea1d3300b02632b025bc00ae30d
Signed-off-by: Sung-hun Kim <sfoon.kim@samsung.com>
atrace-helper/main.cc