question

Vadim Assachyov avatar image
Vadim Assachyov asked

,log.info log.debug error

Hi!

some days ago log.info and log.debug (cloudscript) work perfectly.

but when i try to use them now - i get error like this:

"Error": {
        "Error": "JavascriptException",
        "Message": "JavascriptException",
        "StackTrace": "TypeError: log.info is not a function\n    at handlers...
,

Hi!

some days later log.info and log.debug (cloudscript) work perfectly.

but when i try to use them now - i get error like this:

"Error": {
        "Error": "JavascriptException",
        "Message": "JavascriptException",
        "StackTrace": "TypeError: log.info is not a function\n    at handlers...
CloudScript
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sarah Zhang avatar image Sarah Zhang commented ·

We cannot reproduce the same issue using the sample code on our testing CloudScript. The log.info() method in the sample code works fine. Could you please hide the private information and provide the code of your CloudScript function?

0 Likes 0 ·

1 Answer

·
Vadim Assachyov avatar image
Vadim Assachyov answered

Omg, my fail. I create function named "log". Deleted this and all works fine. Sorry )

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.