Closed
Description
Hello,
I am testing Cloud Code and therefore adding multiple console.log commands. I have found that if there are two logs immediately after each other no further lines are called in the method.
Here is an example:
Parse.Cloud.define('testconsole', function(req, res) {
console.log('Test hello cloud code function was called.');
console.log('Test 2.');
console.log('Test 3');
console.log('Test 4');
res.success('Hi');
});
Checking the logs this is all that is received:
2016-07-25T22:29:02.517625+00:00 app[web.1]: Test hello cloud code function was called.
2016-07-25T22:29:02.517775+00:00 app[web.1]: Test 2.
In fact sometimes I also see strange logging for example missing 'Test 3'.
2016-07-25T22:29:02.517625+00:00 app[web.1]: Test hello cloud code function was called.
2016-07-25T22:29:02.517775+00:00 app[web.1]: Test 2.
2016-07-25T22:29:02.517831+00:00 app[web.1]: Test 4
Sometimes the result is returned as nil and sometimes the optional('Hi') as expected.
Any reason for this? Thanks
Metadata
Metadata
Assignees
Labels
No labels