Suppress "Fatal error" dialogbox?

So i have an UE4 application (Shipping) where sometimes i get a crash. Now, while i’m searching for the reason for this (happens not very often), i need to -NOT- show the dialog box if a crash occurs. The application will be restarted if it just closes which is what i want. Now it just hangs with the dialogbox, not usefull and creates issues for me.

Anyone know how can i do this?

Will setting a custom crash handler do this?

Like for instance:

void CrashHandler(const FGenericCrashContext& GenericContext)
{
// Just Exit
_Exit(0);
}

FPlatformMisc::SetCrashHandler(CrashHandler);

start your app with “-unattended”