This commit is contained in:
Belén Curcio
2018-08-21 22:47:39 -03:00
parent ec5cdb5681
commit bace76decc
18 changed files with 38 additions and 78 deletions
@@ -17,7 +17,7 @@ export async function commit(
window.close();
} catch (err) {
postMessage.send("authError", err.toString(), window.opener);
throw Error(err.message);
throw err;
}
}
@@ -17,7 +17,7 @@ export async function commit(
window.close();
} catch (err) {
postMessage.send("authError", err.toString(), window.opener);
throw Error(err.toString());
throw err;
}
}