MP1-4155: changed generating crash dump file to only error case