MindscapeHQ/raygun4php

Incorrect no. params passed to ErrorException

Closed this issue · 3 comments

PHP 5.5.9 / Ubuntu 14.04 / RayGun4PHP dev-master (9252af2) used in SilverStripe's own RayGun module.

PHP's ErrorException class's constructor expects 6 params, but RayGunClient sends only 5 via a call to BuildMessage() in RayGunClient.php:74, which, ironically is reported within raygun.io itself :-P

@phptek looks like all of the exception's constructor arguments are optional - are you still experiencing this?

Um no. That was 3 years ago! I use Sentry now.

Ha, ok. Given that it looks ok in theory, I’ll close this issue for now.