chore: 🔧 add extra boltz logging

This commit is contained in:
Anthony Potdevin 2020-12-14 12:49:06 +01:00
parent 0e09873dd1
commit d1fec2b92d
No known key found for this signature in database
GPG key ID: 4403F1DFBE779457

View file

@ -109,7 +109,12 @@ export const boltzResolvers = {
const info = detectSwap(redeemScript, lockupTransaction);
if (!info?.vout || !info.type) {
logger.error('Can not get vout or type from Boltz');
logger.error('Cannot get vout or type from Boltz');
logger.debug('Swap info: %o', {
redeemScript,
lockupTransaction,
info,
});
throw new Error('ErrorCreatingClaimTransaction');
}