mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-22 04:58:01 +01:00
Downgraded some errors to warnings
This commit is contained in:
parent
61e907ca37
commit
2ca0ec1f77
1 changed files with 2 additions and 2 deletions
|
@ -184,12 +184,12 @@ class ImportPonify extends Command
|
||||||
$releasedAt = $modifiedDate;
|
$releasedAt = $modifiedDate;
|
||||||
|
|
||||||
} else if ($taggedYear !== null && $modifiedDate->year !== $taggedYear) {
|
} else if ($taggedYear !== null && $modifiedDate->year !== $taggedYear) {
|
||||||
$this->error('Release years don\'t match! Using the tagged year...');
|
$this->warn('Release years don\'t match! Using the tagged year...');
|
||||||
$releasedAt = Carbon::create($taggedYear);
|
$releasedAt = Carbon::create($taggedYear);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// $taggedYear is null
|
// $taggedYear is null
|
||||||
$this->error('This track isn\'t tagged with its release year! Using the track\'s last modified date...');
|
$this->warn('This track isn\'t tagged with its release year! Using the track\'s last modified date...');
|
||||||
$releasedAt = $modifiedDate;
|
$releasedAt = $modifiedDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue