Commit e843e06
committed
clear backtrace when throwing an exception
Without this, the ext/soap tests would trigger a double stack trace:
```
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: can't import schema from '/Users/enorris/workspace/php-src/ex\
t/soap/tests/bugs/bug62900.xsd', unexpected 'targetNamespace'='http://www.w3.org/XML/1998/namespacex', expected 'http://www.w3.org/XML/1998\
/namespace' in /Users/enorris/workspace/php-src/ext/soap/tests/bugs/bug62900_run:2
#0 /Users/enorris/workspace/php-src/ext/soap/tests/bugs/bug62900_run(2): SoapClient->__construct('/Users/enorris/...')
php#1 {main}
thrown in /Users/enorris/workspace/php-src/ext/soap/tests/bugs/bug62900_run on line 2
Stack trace:
#0 /Users/enorris/workspace/php-src/ext/soap/tests/bugs/bug62900_run(2): SoapClient->__construct('/Users/enorris/...')
php#1 {main}
```1 parent a44ac31 commit e843e06
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
907 | 911 | | |
908 | 912 | | |
909 | 913 | | |
| |||
0 commit comments