-
Notifications
You must be signed in to change notification settings - Fork 11
extends_sentry.md
zuowenjian@ayb edited this page Jul 29, 2016
·
5 revisions
bootstrap.php
$dsn="http://9c38b20d88894ecf8da7b7a00ffdae95:[email protected]/1" ;
RavenSetting::setup($dsn) ;
- !R.env
_name : "base"
_res :
- !R.vars
SENTRY_DSN : "http://35f8fb3d32dd429593d3a4bbf38d9f0b:[email protected]/5"
# dev,demo 使用base 下的 SENTRY_DSN
- !R.env
_name : "dev"
_mix : "define,_local_deploy,base,_base,_dev,speed_min,debug"
- !R.env
_name : "demo"
_mix : "define,_safe_deploy,_base,base,_demo,speed_min,debug"
# online 重新设定 SENTRY_DSN
- !R.env
_name : "online"
_mix : "define,_safe_deploy,_base,base,_online,speed_max,release"
_res :
- !R.vars
SENTRY_DSN : "http://0e867af2247a4d10bfa3e0d89b61fa08:[email protected]/3"
bootstrap.php
RavenSetting::setup(XSetting::ensureEnv("SENTRY_DSN")) ;