Add missing exception handlings 42/291742/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 20 Apr 2023 23:54:37 +0000 (23:54 +0000)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 20 Apr 2023 23:54:37 +0000 (23:54 +0000)
commitec78d499d35218644f2878d58d0273e32e8b728e
treec654fb320753d499751a4e5d0a835fa4a60b7030
parentc4520458c401d123970b2283f6cce3cd51a63874
Add missing exception handlings

When the executable file does have the execution permission,
the constructor of the LoaderContext throws an exception.
To prevent the crash issue, we should handle exceptions.

Change-Id: Ie30a8e6899fa4df2f60dbef14d1a5f701dc451ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/launchpad-process-pool/loader_context.cc
src/launchpad-process-pool/loader_factory.cc