From 8879a5170ae130a041681a1fb4c4b48f352deadf Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Fri, 26 Mar 2021 13:11:40 -0700 Subject: [PATCH] fix(slp): Adding more verbose error messages for SLP utility functions --- src/slp/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slp/utils.js b/src/slp/utils.js index 0a9bdbb..29332a2 100644 --- a/src/slp/utils.js +++ b/src/slp/utils.js @@ -1158,6 +1158,7 @@ class Utils { return outAry } catch (error) { + console.log('Error in tokenUtxoDetails()') if (error.response && error.response.data) throw error.response.data throw error } @@ -1503,6 +1504,7 @@ class Utils { return outAry } catch (error) { + console.log('Error in _hydrateUtxo()') // console.log('_hydrateUtxo error: ', error) throw error } @@ -1638,6 +1640,7 @@ class Utils { // could not be validated. return isValid } catch (error) { + console.log('Error in waterfallValidateTxid()') if (error.response && error.response.data) throw error.response.data throw error }