Closed
Description
Describe the bug
When you try to leave a comment on an unchanged/undeleted/unadded line, you'll get a nil pointer dereference:
http: panic serving 127.0.0.1:60819: runtime error: invalid memory address or nil pointer dereference
Leaving comments is definitely the hardest part of this plugin. Right now we bulk attempt to send comments to three different APIs since it's not clear whether you're leaving a comment on a deleted, changed, or added line. There's probably a better way of doing this that would also potentially address this issue.
Expected behavior
We should handle this more gracefully.