Skip to content

Commit edc2f51

Browse files
author
rossbrandon
committed
MAGETWO-85063: Create a framework for dynamically composing what's new content
1 parent 6f7aa8c commit edc2f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ReleaseNotification/Ui/DataProvider/Modifier/Notifications.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ private function unserializeContent($modalContent)
218218

219219
try {
220220
$result = $this->serializer->unserialize($modalContent);
221-
} catch (\Exception $e) {
221+
} catch (\InvalidArgumentException $e) {
222222
$this->logger->warning(
223223
sprintf(
224224
'Failed to unserialize the release notification content. The error is: %s',

0 commit comments

Comments
 (0)