• vfsh@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    30
    ·
    5 days ago

    I did this to myself last week on a new project. Spent an hour trying to track down at what point in my code the data from the database got converted to [Object object]. Finally decided to check the db itself and realized that the [Object object] was coming from inside the house the whole time and the error in my code was when the entry was being written smh

    • Lightfire228@pawb.social
      link
      fedilink
      arrow-up
      12
      ·
      5 days ago

      Sanity checks

      Always, always check if your assumptions are true

      • am i even running the function?
      • is this value what i think it is?
      • what is responsible for loading this data, and does it work as expected?
      • am i pointed at the right database?
      • is my configuration set and loaded in correctly?