Skip to content

Commit

Permalink
Replace logger.warn() by error() (lnp2pBot#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch authored Mar 1, 2024
1 parent 7797bd1 commit 0144a55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bot/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const addInvoice = async (ctx, bot, order) => {
order.amount * 1000
);
if (!!laRes && !laRes.pr) {
logger.warn(
logger.error(
`lightning address ${buyer.lightning_address} not available`
);
messages.unavailableLightningAddress(
Expand Down
2 changes: 1 addition & 1 deletion bot/modules/nostr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ exports.configure = bot => {
await publish(event);
return event;
} catch (err) {
logger.warn(err);
logger.error(err);
}
});
OrderEvents.onOrderTaken(order => {
Expand Down

0 comments on commit 0144a55

Please sign in to comment.