Handle unhandled error; remove error handling in server-only function (error would never become visible to user)

This commit is contained in:
2025-06-01 12:35:07 -04:00
parent 4dab9f2c93
commit 2e3be57e3e
3 changed files with 8 additions and 13 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ func main() {
case "fetch":
// print all information needed for syncing to stdout for interpretation by the client
// stdin[0] is expected to be the device ID
_ = syncserver.GetRemoteDataFromServer(stdin[0])
syncserver.GetRemoteDataFromServer(stdin[0])
case "rename":
// move an entry to a new location before using fallthrough to add its previous iteration to the deletions directory
// stdin[0] is evaluated after fallthrough