aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ecash.ts4
-rw-r--r--lib/lightning.ts2
-rw-r--r--lib/locations.ts3
-rw-r--r--lib/nostr.ts4
-rw-r--r--lib/notes.ts1
-rw-r--r--lib/notifications.ts1
-rw-r--r--lib/rates.ts1
7 files changed, 3 insertions, 13 deletions
diff --git a/lib/ecash.ts b/lib/ecash.ts
index bcd2b7f4..3e40d230 100644
--- a/lib/ecash.ts
+++ b/lib/ecash.ts
@@ -92,9 +92,7 @@ export async function init(amount = 100000) {
});
await s("cash", cash);
- } catch (e) {
- console.log(e);
- }
+ } catch (e) {}
}
export function request(uuid, amount, memo) {
diff --git a/lib/lightning.ts b/lib/lightning.ts
index 1f3b1665..bd8f0f9c 100644
--- a/lib/lightning.ts
+++ b/lib/lightning.ts
@@ -79,7 +79,6 @@ export async function listenForLightning() {
payment_hash,
});
} catch (e) {
- console.log(e);
err("problem receiving lightning payment", e.message);
}
} catch (e: any) {
@@ -164,7 +163,6 @@ export async function replay(index) {
return p;
} catch (e) {
- console.log(e);
err("problem receiving lightning payment", e.message);
}
}
diff --git a/lib/locations.ts b/lib/locations.ts
index 660645a8..a70d57e1 100644
--- a/lib/locations.ts
+++ b/lib/locations.ts
@@ -55,8 +55,7 @@ export const getLocations = async () => {
await s("locations", dedup(locations));
await s("locations:since", `${new Date().toISOString().split(".")[0]}Z`);
} catch (e) {
- console.log(e);
- err("problem fetching locations", e);
+ err("problem fetching locations", e.message);
}
setTimeout(getLocations, 60000);
diff --git a/lib/nostr.ts b/lib/nostr.ts
index 69c4758a..06de5701 100644
--- a/lib/nostr.ts
+++ b/lib/nostr.ts
@@ -185,9 +185,7 @@ export const getCount = async (pubkey) => {
}
return { follows, followers };
- } catch (e) {
- console.log(e);
- }
+ } catch (e) {}
};
export const getNostrUser = async (key) => {
diff --git a/lib/notes.ts b/lib/notes.ts
index 84d157ee..400e5978 100644
--- a/lib/notes.ts
+++ b/lib/notes.ts
@@ -196,7 +196,6 @@ export const parseContent = ({
return [`nostr:${type}`, bech32, { ...value, entity }];
} catch (e) {
- console.log(e);
// pass
}
}
diff --git a/lib/notifications.ts b/lib/notifications.ts
index 31175916..eeb6e8c1 100644
--- a/lib/notifications.ts
+++ b/lib/notifications.ts
@@ -123,7 +123,6 @@ export const nwcNotify = async (p) => {
}
}
} catch (e) {
- console.log(e);
warn("nwc notification failed", e.message);
}
};
diff --git a/lib/rates.ts b/lib/rates.ts
index dcb44464..f9ef9f3c 100644
--- a/lib/rates.ts
+++ b/lib/rates.ts
@@ -38,7 +38,6 @@ const connect = async () => {
s("rates", rates);
last = Date.now();
} catch (e) {
- console.log(e);
err("binance message error", e.message);
}
};