[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 04/05: remove unnecessary console logging
From: |
gnunet |
Subject: |
[taler-wallet-core] 04/05: remove unnecessary console logging |
Date: |
Mon, 20 Jul 2020 13:02:55 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
commit b18e70c393b7c0491ef9552b5608495a8cf9067d
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Mon Jul 20 16:22:29 2020 +0530
remove unnecessary console logging
---
src/operations/errors.ts | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/operations/errors.ts b/src/operations/errors.ts
index 0d180a46..c8885c9e 100644
--- a/src/operations/errors.ts
+++ b/src/operations/errors.ts
@@ -123,7 +123,6 @@ export async function guardOperationException<T>(
try {
return await op();
} catch (e) {
- console.log("guard: caught exception");
if (e instanceof OperationFailedAndReportedError) {
throw e;
}
@@ -132,7 +131,6 @@ export async function guardOperationException<T>(
throw new OperationFailedAndReportedError(e.operationError);
}
if (e instanceof Error) {
- console.log("guard: caught Error");
const opErr = {
type: "exception",
message: e.message,
@@ -141,7 +139,6 @@ export async function guardOperationException<T>(
await onOpError(opErr);
throw new OperationFailedAndReportedError(opErr);
}
- console.log("guard: caught something else");
const opErr = {
type: "exception",
message: "unexpected exception thrown",
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.