Giter Club home page Giter Club logo

Comments (1)

SimonFrings avatar SimonFrings commented on June 1, 2024

Hey @ryanbaldisco, thanks for bringing this up 👍

You're seeing this message because of our Promise v3 release back in July of 2023 last year. I don't think this is a bug in our HTTP component, seems more like something that should be reported in https://github.com/beyondcode/laravel-websockets, as they're throwing an error where only exceptions are allowed for our error events. Although I'm not sure how relevant this currently is, as the project has been archived on 2024-02-07. Laravel reverb seems to be the suggested replacement for this, which also builds on top of ReactPHP.

We could use a Throwable to support both exceptions and errors, as #506 also suggests, but this doesn't work with older PHP versions and will ultimately be a BC break. For v1 we're still supporting these older PHP versions, which will change with ReactPHP v3 (PHP 7.1+). With v3, we want to improve error reporting anyways, so this might be a thing of the past once the next major version is released.

I believe this should answer your question, so I will close this ticket for now. We can reopen this if we can actually prove that this is a bug in this component. If you do need to reopen the ticket, please provide any new findings 👍

from http.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.