Skip to content

Commit d280be5

Browse files
authored
Don't break the trace
1 parent 08ad73b commit d280be5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

php/src/Google/Protobuf/Internal/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ public function parseFromJsonStream($input, $ignore_unknown)
13361336
try {
13371337
$this->mergeFromJsonArray($array, $ignore_unknown);
13381338
} catch (\Exception $e) {
1339-
throw new GPBDecodeException($e->getMessage());
1339+
throw new GPBDecodeException($e->getMessage(), $e->getCode(), $e);
13401340
}
13411341
}
13421342

0 commit comments

Comments
 (0)