Skip to content

Commit

Permalink
less log
Browse files Browse the repository at this point in the history
  • Loading branch information
simon louvet committed Nov 23, 2023
1 parent 3eef534 commit 6055192
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/lib/fragment_lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ module.exports = {
if (this.isLiteral(data)){
return this.processLiteral(data);
} else if (Array.isArray(data) && this.testFragArray(data)){
console.log(('object->frag'));
// console.log(('object->frag'));
return await this.persist (data,fragCaller,exitingFrag)
} else {
for (let key in data) {
Expand Down
5 changes: 3 additions & 2 deletions engine/workspaceComponentExecutor/postConsumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class PostConsumer {
}

// console.log('headers',headers);
// console.log('BEFORE CALL');
console.log('BEFORE CALL');
this.call_url(url, {
method: componentConfig.method||'GET',
body: body,
Expand All @@ -124,6 +124,7 @@ class PostConsumer {
componentConfig.timeout,
componentConfig.retry?componentConfig.retry-1:undefined
).then(async (response)=>{
console.log('AFTER CALL',response.status);
let responseObject;

if (response){
Expand Down Expand Up @@ -210,7 +211,7 @@ class PostConsumer {
}, fetchTimeout*1000);


// console.log('BEFORE FETCH');
console.log('BEFORE FETCH');
this.fetch(url, {...options,signal: controller.signal }).then(
(fetchResult)=>{
clearTimeout(id);
Expand Down

0 comments on commit 6055192

Please sign in to comment.