Skip to content

Commit 54906ff

Browse files
committed
removed set_error_handler
1 parent c73716a commit 54906ff

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Diff for: Aphplication/Client.php

-5
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ class Client {
66
private $serverId;
77

88
public function __construct($msgQueue = __DIR__ .'/queue') {
9-
set_error_handler(function($id, $msg) {
10-
throw new \Exception($msg);
11-
});
12-
13-
149
if (!file_exists($msgQueue)) throw new \Exception('No queue file exists, is the server running?');
1510
$key = ftok($msgQueue, 'R');
1611
$this->queue = msg_get_queue($key ,0777);

0 commit comments

Comments
 (0)