Skip to content

Commit 7d0f07d

Browse files
committed
Fix bad parameter for exception.
1 parent 9010c31 commit 7d0f07d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/stomp/StompConsumer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function receive(int $timeout = 0): ?Message
111111
}
112112
}
113113
} catch (ErrorFrameException $e) {
114-
throw new Exception($e->getMessage()."\n".$e->getFrame()->getBody(), null, $e);
114+
throw new Exception($e->getMessage()."\n".$e->getFrame()->getBody(), 0, $e);
115115
}
116116

117117
return null;

0 commit comments

Comments
 (0)