Installer fixes

This commit is contained in:
Nabeel Shahzad
2018-02-12 09:47:12 -06:00
parent ecfda6de15
commit c817d1ae4b
5 changed files with 29 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
namespace App\Services;
use DB;
use Log;
use PDO;
use Irazasyed\LaravelGAMP\Facades\GAMP;
@@ -32,7 +33,11 @@ class AnalyticsService
AnalyticsDimensions::DATABASE_VERSION
);
$gamp->sendPageview();
try {
$gamp->sendPageview();
} catch (\Exception $e) {
Log::error($e->getMessage());
}
}
}