Remove problematic Sentry (closes #524)

This commit is contained in:
An Phan 2017-01-19 10:48:25 +08:00
parent 18a2f0fd88
commit f495c99a52
No known key found for this signature in database
GPG key ID: 05536BB4BCDC02A2
6 changed files with 6 additions and 135 deletions

View file

@ -34,9 +34,6 @@ class Handler extends ExceptionHandler
*/
public function report(Exception $e)
{
if ($this->shouldReport($e)) {
app('sentry')->captureException($e);
}
parent::report($e);
}

View file

@ -11,7 +11,6 @@
"guzzlehttp/guzzle": "^6.1",
"tymon/jwt-auth": "^0.5.6",
"aws/aws-sdk-php-laravel": "^3.1",
"sentry/sentry-laravel": "^0.5.0",
"pusher/pusher-php-server": "^2.2"
},
"require-dev": {

127
composer.lock generated
View file

@ -4,20 +4,20 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "244ca4e35b2c09df448d101dd154325b",
"content-hash": "b1518bf3fcf768707cb7400c974084c2",
"packages": [
{
"name": "aws/aws-sdk-php",
"version": "3.21.0",
"version": "3.21.1",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "ecbec81de6739a0ea278203f14df2b4c90ed4818"
"reference": "e5eecba6639b57c6d40c635169750df05033c23c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/ecbec81de6739a0ea278203f14df2b4c90ed4818",
"reference": "ecbec81de6739a0ea278203f14df2b4c90ed4818",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/e5eecba6639b57c6d40c635169750df05033c23c",
"reference": "e5eecba6639b57c6d40c635169750df05033c23c",
"shasum": ""
},
"require": {
@ -84,7 +84,7 @@
"s3",
"sdk"
],
"time": "2017-01-17T22:07:42+00:00"
"time": "2017-01-18T21:16:48+00:00"
},
{
"name": "aws/aws-sdk-php-laravel",
@ -1632,121 +1632,6 @@
],
"time": "2016-11-22T19:21:44+00:00"
},
{
"name": "sentry/sentry",
"version": "1.6.1",
"source": {
"type": "git",
"url": "https://github.com/getsentry/sentry-php.git",
"reference": "7656110b7577c4239b5c76a5c2d67261b0122ca0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/getsentry/sentry-php/zipball/7656110b7577c4239b5c76a5c2d67261b0122ca0",
"reference": "7656110b7577c4239b5c76a5c2d67261b0122ca0",
"shasum": ""
},
"require": {
"ext-curl": "*",
"php": ">=5.2.4"
},
"conflict": {
"raven/raven": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^1.8.0",
"monolog/monolog": "*",
"phpunit/phpunit": "^4.8 || ^5.0"
},
"suggest": {
"monolog/monolog": "Automatically capture Monolog events as breadcrumbs"
},
"bin": [
"bin/sentry"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.6.x-dev"
}
},
"autoload": {
"psr-0": {
"Raven_": "lib/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "David Cramer",
"email": "dcramer@gmail.com"
}
],
"description": "A PHP client for Sentry (http://getsentry.com)",
"homepage": "http://getsentry.com",
"keywords": [
"log",
"logging"
],
"time": "2016-12-14T21:57:27+00:00"
},
{
"name": "sentry/sentry-laravel",
"version": "0.5.0",
"source": {
"type": "git",
"url": "https://github.com/getsentry/sentry-laravel.git",
"reference": "9f5214529abf542bd6390799ec1e955a415853aa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/9f5214529abf542bd6390799ec1e955a415853aa",
"reference": "9f5214529abf542bd6390799ec1e955a415853aa",
"shasum": ""
},
"require": {
"illuminate/support": "4.*|5.*",
"php": ">=5.2.4",
"sentry/sentry": ">=1.6.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^1.8.0",
"phpunit/phpunit": "^4.6.6"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "0.5.x-dev"
}
},
"autoload": {
"psr-0": {
"Sentry\\SentryLaravel\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "David Cramer",
"email": "dcramer@gmail.com"
}
],
"description": "Laravel integration for Sentry (https://sentry.io)",
"homepage": "https://sentry.io",
"keywords": [
"errors",
"laravel",
"logging",
"sentry"
],
"time": "2016-12-09T03:42:22+00:00"
},
{
"name": "swiftmailer/swiftmailer",
"version": "v5.4.5",

View file

@ -142,7 +142,6 @@ return [
Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider::class,
Tymon\JWTAuth\Providers\JWTAuthServiceProvider::class,
Aws\Laravel\AwsServiceProvider::class,
Sentry\SentryLaravel\SentryLaravelServiceProvider::class,
/*
* Application Service Providers...
@ -216,7 +215,6 @@ return [
'JWTAuth' => Tymon\JWTAuth\Facades\JWTAuth::class,
'JWTFactory' => Tymon\JWTAuth\Facades\JWTFactory::class,
'AWS' => Aws\Laravel\AwsFacade::class,
'Sentry' => Sentry\SentryLaravel\SentryFacade::class,
'iTunes' => App\Facades\iTunes::class,
],

View file

@ -55,7 +55,6 @@
"mocha": "^2.3.4",
"node-sass": "^3.4.2",
"postcss-cssnext": "^2.6.0",
"raven-js": "^3.9.1",
"sinon": "^1.17.2",
"vue-hot-reload-api": "^1.3.2",
"vueify": "^9.1.0",

View file

@ -1,17 +1,10 @@
require('intersection-observer')
import Vue from 'vue'
import Raven from 'raven-js'
import RavenVue from 'raven-js/plugins/vue'
import { VirtualScroller } from 'vue-virtual-scroller'
import { event } from './utils'
import { http } from './services'
Raven
.config('https://766d8f0fc072470ba5ea0ef253fafc89@sentry.io/120890')
.addPlugin(RavenVue, Vue)
.install()
Vue.component('virtual-scroller', VirtualScroller)
/**