Bug with imap get list of folders

Support
  • Hi, just wanted to let you know I came accross this bug while fetching the folders of my imap.

    When fetching the folders, the list only contains " [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"

    But when activating debug, the list is not empty as you can see.
    However it doesn't seem possible to get the debug to a variable, so I have to do it by hand which is annoying

    e69c288e-c25a-4ab2-8c1b-d6b6f89d8d2b-image.png

  • @thotho said in Bug with imap get list of folders:

    When fetching the folders, the list only contains " [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"

    Because BAS does not serialise objects when writing logs, you need to do it manually.

    log(JSON.stringify(VAR_SOME_OBJECT))