Skip to content
Browse files

Smart class checking

  • Loading branch information...
1 parent 8cab04a commit cef932efee3d173dd56e325f26def52e56a598f9 @snikch snikch committed Oct 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Services/Airbrake.php
View
2 Services/Airbrake.php
@@ -300,7 +300,7 @@ function addXmlBacktrace($parent)
$line_node->addAttribute('number', $this->line);
foreach ($this->trace as $entry) {
- if (isset($entry['class']) && $entry['class'] == 'Services_Airbrake') continue;
+ if (isset($entry['class']) && $entry['class'] == get_class($this)) continue;
$line_node = $backtrace->addChild('line');
$line_node->addAttribute('file', $entry['file']);

0 comments on commit cef932e

Please sign in to comment.
Something went wrong with that request. Please try again.