X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fmain.cpp;h=25fbf2aeed239b5bb64c3544378c5dd6598ea3e1;hb=bbf684fb596414141190958dbd0b0abcc0f7f6d3;hp=fe73b69e0a53337f84e32d360de7d4899a00e10f;hpb=c79b70f564aaad2194c4f24a653fbb94b7ac397a;p=apps%2Fagl-service-windowmanager.git diff --git a/src/main.cpp b/src/main.cpp index fe73b69..25fbf2a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -364,7 +364,8 @@ void windowmanager_activatesurface(afb_req req) noexcept } catch (std::exception &e) { - HMI_WARNING("wm", "failed", "Uncaught exception while calling activatesurface: %s", e.what()); + HMI_WARNING("wm", "failed: Uncaught exception while calling activatesurface: %s", e.what()); + g_afb_instance->app.exeptionProcessForTransition(); return; } } @@ -404,7 +405,8 @@ void windowmanager_deactivatesurface(afb_req req) noexcept } catch (std::exception &e) { - HMI_WARNING("wm", "Uncaught exception while calling deactivatesurface: %s", e.what()); + HMI_WARNING("wm", "failed: Uncaught exception while calling deactivatesurface: %s", e.what()); + g_afb_instance->app.exeptionProcessForTransition(); return; } } @@ -436,7 +438,8 @@ void windowmanager_enddraw(afb_req req) noexcept } catch (std::exception &e) { - HMI_WARNING("wm", "failed", "Uncaught exception while calling enddraw: %s", e.what()); + HMI_WARNING("wm", "failed: Uncaught exception while calling enddraw: %s", e.what()); + g_afb_instance->app.exeptionProcessForTransition(); return; } }