Timeline for Various errors in submitting offers
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 22, 2019 at 0:55 | comment | added | J R |
I did console.log(JSON.stringify(err, null, ' ')); and I can't quite find the extras.result_codes .
|
|
Sep 21, 2019 at 15:07 | comment | added | J R |
This part of the code is the one catching the error and it does not return extras.result_codes : .catch(function(err) { console.log('An error has occured:'); console.log(err); });
|
|
Sep 21, 2019 at 10:50 | comment | added | Orbit Lens |
Set a breakpoint in your code that handles exceptions and check the error object itself or print the error to console using JSON.stringify() . Like try { horizon.loadAccount('GAB...') } catch(e) { console.log(JSON.stringify(e, null, ' ')) }
|
|
Sep 21, 2019 at 3:28 | vote | accept | J R | ||
Sep 21, 2019 at 2:35 | comment | added | J R | It may be a novice's question, but how do I get the {extras.result_codes} to appear in the console.log? What will I add in my code above? | |
Sep 19, 2019 at 2:33 | history | answered | Orbit Lens | CC BY-SA 4.0 |