Git Product home page Git Product logo

Comments (5)

SkyWriter avatar SkyWriter commented on August 28, 2024

This is somewhat intended behavior. It doesn't register the entry until it's finished. Once it's finished, it puts it into Redmine and never touches it again.

Anyway I'm open to any suggestions on how to make it better, so if you have any reasonable proposals, I'm all into them. What do you think the correct behavior should be?

from toggl.

necopinus avatar necopinus commented on August 28, 2024

That makes sense.

I think my suggestion then would be to generate a warning to stdout on this case, rather than throwing out a message on stderr. The case of an unclosed time entry really isn't an error, and it makes the plugin rather noisy in even a modestly active environment (5 users, in our case).

I don't mind throwing away stdout on a cron job but it's generally useful to get the output of stderr if something fails, so just running rake toggl:update RAILS_ENV=production &> /dev/null isn't a great solution.

from toggl.

SkyWriter avatar SkyWriter commented on August 28, 2024

I've fixed this with the last commits. Would you be so kind to check it?

from toggl.

necopinus avatar necopinus commented on August 28, 2024

Looks good on my end. Thanks!

from toggl.

SkyWriter avatar SkyWriter commented on August 28, 2024

My pleasure!

from toggl.

Related Issues (15)

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.