Page 1 of 1

Retrieve errors from node.

Posted: Tue Oct 26, 2021 1:23 pm
by fabien
Hi,

We use a node server to produce report.
if an error occured in renderAsync function, how can i get error ?
In attachment, I caused an error.

Code: Select all

logger.log("Début rendu");
report.renderAsync(() => {            
  logger.log("fin rendu");
});
Maybe can we use renderAsync2 function with promise to get error ?
if so, can you give me a sample code ?
if not, do you plan to develop it?

Thank you,

Fabien.

Re: Retrieve errors from node.

Posted: Wed Oct 27, 2021 9:56 pm
by Lech Kulikowski
Hello,

Unfortunately, there are no ways to check it in the JS version.

Thank you.

Re: Retrieve errors from node.

Posted: Thu Oct 28, 2021 8:51 am
by fabien
Hi,

I understand that I can't recover the error with the current version.

But, do you plan to do it later ?

Thank you,

Fabien.

Re: Retrieve errors from node.

Posted: Thu Oct 28, 2021 12:17 pm
by Lech Kulikowski
Hello Fabien,

Yes, at the current moment, no.

Unfortunately, we do not have plans to add it now.

Thank you.

Re: Retrieve errors from node.

Posted: Fri Oct 29, 2021 9:33 am
by fabien
Hi,

ok.

thank you,

Fabien.

Re: Retrieve errors from node.

Posted: Fri Oct 29, 2021 11:14 am
by Andrew
Hello Fabien,

Thank you for understanding.