protected function cleanBacktrace($backtrace)
    {
        foreach ($backtrace as &$item) {
            if (isset($item['file'])) {
                $item['file'] = $this->cleanFilePath($item['file']);
            }
            unset($item['args']);
        }

        return $backtrace;
    }