Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Handling exceptions

    General Discussion
    2
    2
    164
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Gniewoj last edited by

      How can I manage my exceptions from file App\Exception\Handler.php? Currently Bagisto capturing all exceptions. Thank you

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hello,

        We have created a separate file for exception handling.

        https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Core/src/Exceptions/Handler.php

        and this is bind -

        https://github.com/bagisto/bagisto/blob/master/packages/Webkul/Core/src/Providers/CoreServiceProvider.php#L52

        you need to remove given line code and it will work according to you.

        Note -> We don't advice you to change in core packages, it will create a problem on a new version.

        Thanks
        Rahul Shukla

        1 Reply Last reply Reply Quote 0
        • First post
          Last post