Don't break the trace

pull/11311/head
Saša Stamenković 2 years ago committed by GitHub
parent 08ad73b58e
commit d280be57b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      php/src/Google/Protobuf/Internal/Message.php

@ -1336,7 +1336,7 @@ class Message
try {
$this->mergeFromJsonArray($array, $ignore_unknown);
} catch (\Exception $e) {
throw new GPBDecodeException($e->getMessage());
throw new GPBDecodeException($e->getMessage(), $e->getCode(), $e);
}
}

Loading…
Cancel
Save