[Android] System alert dialog being dismissed automatically

I am using Appium for test automation. I am currently working on a problem where I need to automate system errors in my app which leads to an app crash. My issue is that once the system alert dialog pops up with the “Unfortunately application has stopped” message, Appium automatically clicks on the OK button and dismisses the message. I need to disable this “feature”. I went through this: http://appium.io/docs/en/writing-running-appium/caps/ but I only found autoAcceptAlerts and autoDismissAlerts flags that are for iOS only.