Skip to content

Commit

Permalink
Merge 1a027d2 into 346d3f5
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Feb 25, 2020
2 parents 346d3f5 + 1a027d2 commit b65df34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Sync/ChannelParser.php
Expand Up @@ -29,7 +29,7 @@ public function encode($data): string
$data = \serialize($data);
} catch (\Throwable $exception) {
throw new SerializationException(
"The given data cannot be sent because it is not serializable.",
"The given data of type ". (\is_object($data) ? \get_class($data) : \gettype($data)) ." cannot be sent because it is not serializable.",
0,
$exception
);
Expand Down

0 comments on commit b65df34

Please sign in to comment.