No exception is thrown or log...
/**
* Open the mail app with the given options
* @param options MailOptions
* @returns boolean indicating if the mail app was opened successfully
*/
static openMail(options: MailOptions): boolean {
try {
console.info("Opening mail app with options:");
console.beautify(options); /// <--------------- this gets logged with same config on both OS
_Mailer.mail(options as any, (event: any, error: any) => options.onEvent?.(event, error));
return true;
} catch (error) {
console.capture(error);
return false;
}
}
No exception is thrown or log...