Overslaan naar inhoud
CTech Digital
  • Startpagina
  • Odoo services
  • AI services
  • Contact
  • 0
  • Nederlands (BE) English (UK) Français
CTech Digital
  • 0
    • Startpagina
    • Odoo services
    • AI services
    • Contact
  • Nederlands (BE) English (UK) Français

10/6/25

  • Alle blogs
  • Daily blog
  • 10/6/25
  • 10 juni 2025 in
    CTech Metrology, Luc Wens

    Improving on the logging, I discovered quite a bit of assertions during a normal execution run.

    The fact that these did not botter in the past raises some questions on the use of these asserts: if they don't make a difference, and they are plainfully ignored, then what is the use?

    Ok, solved that, seemed that assertions were not checked for the actual condition that was provided. 

    Also do not that the assertion is to check that something is true, so the assertion will be created and logged if it is not true. Assertions will be logged as WARN and contain stack information.

    in Daily blog
    9/6/25
    Copyright © CTech
    Nederlands (BE) | English (UK) | Français
    Aangeboden door Odoo - De #1 Open source e-commerce