@ptt-bds Cho những thứ bạn muốn thực hiện khi ALL PROJECT lỗi, ví dụ như ghi ra log, ghi ra tệp, gửi thông báo, quay lại bước nào đó...
Vì khi một trong những hành động trong ALL PROJECT lỗi nó sẽ nhảy xuống chỗ này.
Bug with imap get list of folders
-
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))