Handle Game/Unreal Crash

I want to dump some game information when the game/Unreal crashes. Is there any callback where I can register in order to run some C++ code after the crash?