You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
Good afternoon. Is there some way to catch errors when writing is not possible?
I'll tell you right away that I'm a beginner. For some time I could not understand why my program crashes, and then I realized that I had an output file open. Is it possible to somehow prevent the program from crashing and let the user know about it?
Good afternoon. Is there some way to catch errors when writing is not possible?
I'll tell you right away that I'm a beginner. For some time I could not understand why my program crashes, and then I realized that I had an output file open. Is it possible to somehow prevent the program from crashing and let the user know about it?
This construction doesn't work:
try {
wb.write('Result.xlsx');
}
catch (ex) {
console.log("Close result file");
}
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: