mozilla-services / FindMyDevice

Find My Device - 🚨🚨This server is obsolete and unsupported.🚨🚨
Mozilla Public License 2.0
13 stars 8 forks source link

Remove the console.log() debugging so we don't blow up people's developer consoles #311

Open pdehaan opened 9 years ago

pdehaan commented 9 years ago

Found in https://find.dev.mozaws.net/status/ (commit d99f37c)

{"goroutines":12,"status":"ok","version":"1.4-d99f37c"}

Steps to reproduce:

  1. Log into https://find.dev.mozaws.net/ and wait for it to start reporting your device.
  2. Open Developer tools and witness the crimes committed against the Console.

    Actual results:

mein_gerat_finden_ _firefox_os_ _mozilla Figure 1: console.log() statements. Lots of them.

Expected results:

We're probably at a place now where we can either remove all console.log() statements, or hide them behind a flag or URL variable (ie ?debug=true).