aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-20 16:22:29 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-20 16:22:29 +0530
commitb18e70c393b7c0491ef9552b5608495a8cf9067d (patch)
tree67a363dcd4ae33d0dd7eac1f97b7adc37f707d6b /src
parent4f72f0abb777df55a1fbb28b2d37eda94297a0d4 (diff)
remove unnecessary console logging
Diffstat (limited to 'src')
-rw-r--r--src/operations/errors.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/operations/errors.ts b/src/operations/errors.ts
index 0d180a465..c8885c9e7 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",