Code Monkey home page Code Monkey logo

Comments (3)

similato87 avatar similato87 commented on August 17, 2024

Hi @AntonOsika , I apologize for any inconvenience this issue has caused. I understand your concerns about the global try-catch and appreciate you bringing this to my attention. Originally, we implemented this to capture exceptions related to user files more effectively, which has helped improve our logging for the new "diff" feature. We've received several valuable reports from this without needing excessive communication with our users.

However, I see how this can obscure the clarity of error reporting, especially in cases like yours with Claude Opus. I will work on a hotfix to address this by narrowing the scope of the try-catch and ensuring that stack traces are preserved for better error visibility.

from gpt-engineer.

AntonOsika avatar AntonOsika commented on August 17, 2024

Thanks @similato87!

Do you have a propose to how to fix it?

from gpt-engineer.

similato87 avatar similato87 commented on August 17, 2024

Hello @AntonOsika,

I have implemented a function to print the stack trace within the try-catch block, allowing us to view the trace both on the console and in the debug_log file. The attached image demonstrates successful testing. Feel free to merge the PR and run the tests again; the pytest error is unrelated to this update.

I intend to propose further enhancements once I return from my travels. Apologies for any inconvenience caused.
image

from gpt-engineer.

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.