承接 michielroos/bugsnag 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

michielroos/bugsnag

最新稳定版本:12.0

Composer 安装命令:

composer require michielroos/bugsnag

包简介

Bugsnag exception handler

关键字:

README 文档

README

Requires TYPO3 13 or 14.

Integrates Bugsnag error monitoring into TYPO3 CMS by routing exceptions to the Bugsnag platform.

Originally created and maintained by Michiel Roos — thank you for the great work!

Configuration

General exceptions

Configure the Bugsnag API key in the TYPO3 extension configuration screen, or provide it via environment variable:

BUGSNAG_API_KEY=your-api-key

Set the exception handlers either via the Install Tool or in AdditionalConfiguration.php:

<?php
# AdditionalConfiguration.php

$GLOBALS['TYPO3_CONF_VARS']['SYS']['debugExceptionHandler'] = \GeorgRinger\Bugsnag\Core\Error\DebugExceptionHandler::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['productionExceptionHandler'] = \GeorgRinger\Bugsnag\Core\Error\ProductionExceptionHandler::class;

Exceptions thrown by content elements

The content exception handler can be specified in TypoScript. Exceptions that occur during rendering of content objects (typically plugins) are caught by default in production context and a configurable error message is shown in place of the failing element — keeping the rest of the page intact.

# Use 1 for the default exception handler (enabled by default in production context)
config.contentObjectExceptionHandler = 1

# Use a class name for a custom exception handler
config.contentObjectExceptionHandler = GeorgRinger\Bugsnag\ContentObject\Exception\ProductionExceptionHandler

Bugsnag Performance (Site Set)

This extension ships a Site Set (GeorgRinger/bugsnag) that enables Bugsnag Performance Monitoring via a browser module script.

Add the set as a dependency in your site's Set configuration and provide the following settings — either directly or via environment variable:

Setting Description Default
bugsnag.apiKey Bugsnag API key (overrides extension configuration) (empty)
bugsnag.path URL to the Bugsnag Performance JS bundle //d2wy8f7a9ursnm.cloudfront.net/v1/bugsnag-performance.min.js

In config/sites/{site}/settings.yaml:

bugsnag.apiKey: '%env(BUGSNAG_API_KEY)%'

The performance script is only rendered when bugsnag.apiKey is set.

Issues

Please report issues you find.

统计信息

  • 总下载量: 2.54k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2019-11-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固