зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1068429 - Trivial fixes for formatting crashes in the tbplformatter.;r=jgraham
This commit is contained in:
Родитель
e2b843d329
Коммит
4c665047f4
|
@ -31,10 +31,11 @@ class TbplFormatter(BaseFormatter):
|
|||
return "PROCESS | %(process)s | %(data)s\n" % data
|
||||
|
||||
def crash(self, data):
|
||||
id = self.id_str(data["test"]) if "test" in data else "pid: " % data["process"]
|
||||
id = self.id_str(data["test"]) if "test" in data else "pid: %s" % data["process"]
|
||||
|
||||
signature = data["signature"] if data["signature"] else "unknown top frame"
|
||||
rv = ["PROCESS-CRASH | %s | application crashed [%s]" % (id, signature)]
|
||||
|
||||
rv = ["PROCESS-CRASH | %s | application crashed [%s]" % (id,
|
||||
data["signature"])]
|
||||
if data.get("minidump_path"):
|
||||
rv.append("Crash dump filename: %s" % data["minidump_path"])
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче