Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Catch Java unwinder compatibility check errors
Browse files Browse the repository at this point in the history
Reviewed By: simpleton

Differential Revision: D37568744

fbshipit-source-id: e667bb9b4523b51349d89fcb6bc9b8885a10059e
  • Loading branch information
aandreyeu authored and facebook-github-bot committed Jul 1, 2022
1 parent f559bf4 commit 8e1e759
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/profiler/ArtCompatibilityRunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ bool runJavaCompatibilityCheckInternal(
} catch (std::system_error& ex) {
FBLOGE("Caught system error: %s", ex.what());
return false;
} catch (std::runtime_error& ex) {
FBLOGE("Caught runtime error: %s", ex.what());
return false;
}
}

Expand Down

0 comments on commit 8e1e759

Please sign in to comment.