Skip to content

Commit 398e261

Browse files
minor symfony#28515 [Lock] remove useless code (ronfroy)
This PR was submitted for the master branch but it was squashed and merged into the 3.4 branch instead (closes symfony#28515). Discussion ---------- [Lock] remove useless code | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT remove usless code Commits ------- 0d38c71 [Lock] remove useless code
2 parents da19998 + 0d38c71 commit 398e261

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/Lock/Store/CombinedStore.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ public function delete(Key $key)
151151
$store->delete($key);
152152
} catch (\Exception $e) {
153153
$this->logger->notice('One store failed to delete the "{resource}" lock.', array('resource' => $key, 'store' => $store, 'exception' => $e));
154-
} catch (\Throwable $e) {
155-
$this->logger->notice('One store failed to delete the "{resource}" lock.', array('resource' => $key, 'store' => $store, 'exception' => $e));
156154
}
157155
}
158156
}

0 commit comments

Comments
 (0)