Skip to content

Commit 82f3186

Browse files
committed
MAGETWO-62168: Improve field data converter logging and error reporting
1 parent 84c5d98 commit 82f3186

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/DB/DataConverter/SerializedToJson.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ protected function isValidJsonValue($value)
6565
) {
6666
return true;
6767
}
68+
//JSON last error reset
69+
json_encode([]);
6870
return false;
6971
}
7072

0 commit comments

Comments
 (0)