Update tagging exception handling

This commit is contained in:
DariusIII
2018-11-02 11:33:07 +01:00
parent 55dc13593c
commit 1815494ab9
+4 -2
View File
@@ -270,8 +270,9 @@ class ProcessReleases
try {
$taggedRelease = Release::find($release->id);
$taggedRelease->tag($catId['tags']);
} catch(\Throwable $e) {
} catch (\Throwable $e) {
//Just pass this part, tag is not created for some reason, exception is thrown and blocks release creation
continue;
}
$categorized++;
if ($this->echoCLI) {
@@ -623,8 +624,9 @@ class ProcessReleases
try {
$release = Release::find($releaseID);
$release->tag($determinedCategory['tags']);
} catch(\Throwable $e) {
} catch (\Throwable $e) {
//Just pass this part, tag is not created for some reason, exception is thrown and blocks release creation
continue;
}
if ($releaseID !== null) {