diff --git a/socorro/signature/rules.py b/socorro/signature/rules.py index b6c95ecc50..a22ed88d8c 100644 --- a/socorro/signature/rules.py +++ b/socorro/signature/rules.py @@ -163,12 +163,15 @@ def normalize_cpp_function(self, function, line): function = function.replace("`anonymous namespace'", "(anonymous namespace)") # Collapse types + # + # NOTE(willkg): The " in " is for handling "". bug + # #1685178 function = collapse( function, open_string="<", close_string=">", replacement="", - exceptions=("name omitted", "IPC::ParamTraits"), + exceptions=("name omitted", "IPC::ParamTraits", " in "), ) # Collapse arguments @@ -546,7 +549,7 @@ def _get_crashing_thread(self, crash_data): def action(self, crash_data, result): # If this is a Java crash, then generate a Java signature if crash_data.get("java_stack_trace"): - result.debug(self.name, "Using JavaSignatureTool") + result.debug(self.name, "using JavaSignatureTool") signature, notes, debug_notes = self.java_signature_tool.generate( crash_data["java_stack_trace"], delimiter=": " ) @@ -557,7 +560,7 @@ def action(self, crash_data, result): result.set_signature(self.name, signature) return True - result.debug(self.name, "Using CSignatureTool") + result.debug(self.name, "using CSignatureTool") try: # First, we need to figure out which thread to look at. If it's a # chrome hang (1), then use thread 0. Otherwise, use the crashing