fission-codes / auth-lobby

The authentication service that Fission services run.
https://auth.fission.codes
GNU Affero General Public License v3.0
12 stars 1 forks source link

Debug logs #53

Closed expede closed 3 years ago

expede commented 3 years ago

I'm getting what I can only assume is gibberish from the Firefox debugger:

Screen Shot 2021-03-09 at 12 36 40 AM

That string does exist in the project, but tracing through the code it shouldn't be plugged into that spot. Considering this works browser-to-browser, I'm assuming that this code actually works, but I need to figure out which bit is getting stuck.

I've gone oldschool and added some console.debugs to the code to try to help me trace through what's happening with linking.

I'm also open to any suggestions that you may have 🙏

icidasset commented 3 years ago

Yeah that's weird, that string points to the ipfs id that isn't used anymore.

Can you replace the console.debug statements with a call to a function that checks if cs.debug is truthy like the other debug statements? Other debug statements look like → if (cs.debug) console.log( ... )

I can also get that in later today if you prefer that.

expede commented 3 years ago

Yep sure thing 👍

expede commented 3 years ago

@icidasset better?

icidasset commented 3 years ago

Perfect thanks! Will deploy in a bit.