Add some more logs
Add some more logs so we can figure out if the empty user is coming from a regular edit or from the close connection event. Also log if a note is not found when checking edit permission.
Add some more logs so we can figure out if the empty user is coming from a regular edit or from the close connection event. Also log if a note is not found when checking edit permission.