rm Log
This commit is contained in:
parent
578b9934f5
commit
c372c11867
@ -10,7 +10,6 @@ use App\MetadataResolver\UncaughtResolverException;
|
|||||||
use App\Tag;
|
use App\Tag;
|
||||||
use App\Utilities\Formatter;
|
use App\Utilities\Formatter;
|
||||||
use Illuminate\Support\Facades\DB;
|
use Illuminate\Support\Facades\DB;
|
||||||
use Illuminate\Support\Facades\Log;
|
|
||||||
|
|
||||||
class MetadataResolveService
|
class MetadataResolveService
|
||||||
{
|
{
|
||||||
@ -63,9 +62,6 @@ class MetadataResolveService
|
|||||||
try {
|
try {
|
||||||
$resolved = $this->resolver->resolve($url);
|
$resolved = $this->resolver->resolve($url);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
Log::error(self::class . ': メタデータの取得に失敗 URL=' . $url);
|
|
||||||
|
|
||||||
// TODO: 何か制御用の例外を下位で使ってないか確認したほうが良い?その場合、雑catchできない
|
|
||||||
$metadata->storeException(now(), $e);
|
$metadata->storeException(now(), $e);
|
||||||
$metadata->save();
|
$metadata->save();
|
||||||
throw new UncaughtResolverException(implode(': ', [
|
throw new UncaughtResolverException(implode(': ', [
|
||||||
|
Loading…
Reference in New Issue
Block a user