@@ -85,8 +85,9 @@ export const goBlankPage = async (handler: Function | string, target = "_self")
href = isFunHanlder ? await handler() : handler;
} catch (e) {
if (newTab) newTab.close();
+ throw new Error(e as string);
}
- console.log(href);
+
if (!href) {
return;