Skip to content

Commit

Permalink
Update cancelRefundCommand.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
binarybaron committed Nov 1, 2022
1 parent 2c871b4 commit f23541d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/cli/commands/cancelRefundCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ export default async function spawnCancelRefund(swapId: string) {
throw new Error('Could not find swap in database');
}
} catch (err) {
logger.error({ swapId, err }, 'Failed to spawn swap resume');
logger.error({ swapId, err }, 'Failed to spawn swap cancel-refund');

const error = `Failed to spawn swap resume SwapID: ${swapId} Error: ${err}`;
const error = `Failed to spawn swap cancel-refund SwapID: ${swapId} Error: ${err}`;
dialog.showMessageBoxSync({
title: 'Failed to spawn command',
title: 'Failed to cancel-refund command',
message: error,
type: 'error',
});
Expand Down

0 comments on commit f23541d

Please sign in to comment.