Skip to content

Commit 98aebda

Browse files
Guillaume DELOINCExabbuh
authored andcommitted
fix(symfony): serializer
1 parent df8536c commit 98aebda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Serializer/Normalizer/ExceptionNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ public function normalize($object, $format = null, array $context = [])
4141
*/
4242
public function supportsNormalization($data, $format = null)
4343
{
44-
return $data instanceof \Exception;
44+
return $data instanceof \Throwable;
4545
}
4646
}

0 commit comments

Comments
 (0)