def _action(self, raw_crash, raw_dumps, processed_crash, processor_meta): pathname = raw_dumps['memory_report'] with temp_file_context(pathname): processed_crash.memory_report = self._extract_memory_info( dump_pathname=pathname, processor_notes=processor_meta.processor_notes) return True
def _action(self, raw_crash, raw_dumps, processed_crash, processor_meta): pathname = raw_dumps['memory_report'] with temp_file_context(pathname): processed_crash.memory_report = self._extract_memory_info( dump_pathname=pathname, processor_notes=processor_meta.processor_notes ) return True
def action(self, raw_crash, raw_dumps, processed_crash, processor_meta): pathname = raw_dumps["memory_report"] with temp_file_context(pathname): memory_report = self._extract_memory_info( dump_pathname=pathname, processor_notes=processor_meta.processor_notes ) if isinstance(memory_report, dict) and memory_report.get("ERROR"): processed_crash.memory_report_error = memory_report["ERROR"] else: processed_crash.memory_report = memory_report
def action(self, raw_crash, raw_dumps, processed_crash, processor_meta): pathname = raw_dumps['memory_report'] with temp_file_context(pathname): memory_report = self._extract_memory_info( dump_pathname=pathname, processor_notes=processor_meta.processor_notes ) if isinstance(memory_report, dict) and memory_report.get('ERROR'): processed_crash.memory_report_error = memory_report['ERROR'] else: processed_crash.memory_report = memory_report