Retrieve errors from node.

Stimulsoft Reports.JS discussion
Post Reply
fabien
Posts: 23
Joined: Thu Jul 15, 2021 9:07 am

Retrieve errors from node.

Post 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.
Attachments
Error.png
Error.png (7.81 KiB) Viewed 784 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Retrieve errors from node.

Post by Lech Kulikowski »

Hello,

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

Thank you.
fabien
Posts: 23
Joined: Thu Jul 15, 2021 9:07 am

Re: Retrieve errors from node.

Post 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.
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Retrieve errors from node.

Post by Lech Kulikowski »

Hello Fabien,

Yes, at the current moment, no.

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

Thank you.
fabien
Posts: 23
Joined: Thu Jul 15, 2021 9:07 am

Re: Retrieve errors from node.

Post by fabien »

Hi,

ok.

thank you,

Fabien.
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Retrieve errors from node.

Post by Andrew »

Hello Fabien,

Thank you for understanding.
Post Reply