@Fox said in How to download from a list of links?:
[[FOREACH_DATA]]
Life saver. Ta.
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

@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))