diff options
author | Karol Lewandowski <k.lewandowsk@samsung.com> | 2021-05-28 15:08:42 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@review> | 2021-05-28 15:08:42 +0000 |
commit | 72ed8f162adcd5082936bc54919c8cb7a92b8bd6 (patch) | |
tree | b15d91eeb6d6c9e6d4c88330157bb7e8a8b942a6 | |
parent | e4f5412df15caa046a7decf6313f379af4e612dc (diff) | |
parent | 508c532b6a0b404a3ce5674ba97980b517c21b64 (diff) | |
download | crash-worker-72ed8f162adcd5082936bc54919c8cb7a92b8bd6.tar.gz crash-worker-72ed8f162adcd5082936bc54919c8cb7a92b8bd6.tar.bz2 crash-worker-72ed8f162adcd5082936bc54919c8cb7a92b8bd6.zip |
Merge "Continue creating a report even if an error has occured" into tizen
-rw-r--r-- | src/crash-manager/crash-manager.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/crash-manager/crash-manager.c b/src/crash-manager/crash-manager.c index d525588..8dd6a00 100644 --- a/src/crash-manager/crash-manager.c +++ b/src/crash-manager/crash-manager.c @@ -1277,7 +1277,8 @@ static bool run(struct crash_info *cinfo) /* Exec dump_systemstate */ if (!dump_system_state(cinfo, &dump_state_pid)) { _E("Failed to get system state report"); - return false; + // continue creating a raport even if it does not + // contain the correct coredump } if (config.extra_script && !extra_script(cinfo, &extra_script_pid)) @@ -1291,7 +1292,8 @@ static bool run(struct crash_info *cinfo) /* Exec crash modules */ if (!execute_crash_modules(cinfo)) { _E("Failed to get basic crash information"); - return false; + // continue creating a raport even if it does not + // contain the correct coredump } if (!cinfo->livedump && config.release_early) |