PlanktoScope / device-backend

All backend software underneath the PlanktoScope device's standard API
GNU General Public License v3.0
2 stars 6 forks source link

add reconnect function and it's logs #29

Open melissadjadoun opened 6 months ago

melissadjadoun commented 6 months ago

(placeholder for a more thorough description of what this PR is trying to do) Related issue: https://github.com/PlanktoScope/PlanktoScope/issues/104 (placeholder for the specific relationship between this PR and the linked issue: does this PR attempt to solve the issue completely? Does it just attempt to solve some part of the linked issue? Is this PR related to any other issues?)

ethanjli commented 6 months ago

It looks like your edits caused the line endings to be changed for the file, so now GitHub thinks you edited every single line of the file. This makes it hard to see what you actually changed. Could you please see if adjusting the core.autocrlf git config (see https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings for an explanation) and re-doing your changes will give us a correct diff for this PR on GitHub? Thanks!

melissadjadoun commented 5 months ago

I've adjusted the code for the reconnect method, but I haven't tested it yet.