src/Request/JsonProcessor.php 1 location
|
@@ 274-283 (lines=10) @@
|
| 271 |
|
|
| 272 |
|
set_error_handler( |
| 273 |
|
|
| 274 |
|
function($severity, $message, $file, $line) { |
| 275 |
|
|
| 276 |
|
$this->logger->error($message, array( |
| 277 |
|
"FILE" => $file, |
| 278 |
|
"LINE" => $line |
| 279 |
|
)); |
| 280 |
|
|
| 281 |
|
throw new RpcException('Internal error', -32603); |
| 282 |
|
|
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
); |
| 286 |
|
|
src/Request/XmlProcessor.php 1 location
|
@@ 125-134 (lines=10) @@
|
| 122 |
|
|
| 123 |
|
set_error_handler( |
| 124 |
|
|
| 125 |
|
function($severity, $message, $file, $line) { |
| 126 |
|
|
| 127 |
|
$this->logger->error($message, array( |
| 128 |
|
"FILE" => $file, |
| 129 |
|
"LINE" => $line |
| 130 |
|
)); |
| 131 |
|
|
| 132 |
|
throw new RpcException('Internal error', -32603); |
| 133 |
|
|
| 134 |
|
} |
| 135 |
|
|
| 136 |
|
); |
| 137 |
|
|