[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug
If any error (like no printer found) happens during at attempt to print a file it just gets silenced:
contents.print(pdfOptions, (success, errorType) =>
{
//Consider all as success
event.reply('export-success', {});
});
Probably it's redundant to handle each error but just displaying a message like "something went wrong" would be enough.
Expected behavior
An error message gets shown if anything happens.
draw.io version (In the Help->About menu of the draw.io editor):
Preflight Checklist
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
Describe the bug If any error (like no printer found) happens during at attempt to print a file it just gets silenced:
Probably it's redundant to handle each error but just displaying a message like "something went wrong" would be enough.
Expected behavior An error message gets shown if anything happens.
draw.io version (In the Help->About menu of the draw.io editor):