Opened 10 years ago

Closed 10 years ago

#4440 closed Bug (fixed)

transmission-remote --port-test & --blocklist-update fail silently

Reported by: KyleK Owned by: jordan
Priority: Normal Milestone: 2.40
Component: Daemon Version: 2.33
Severity: Normal Keywords:
Cc:

Description

If either of the above commands fail (i.e. the HTTP response code is not 200), the error message is sent to transmission-remote via RPC but is not evaluated.

The attached patch checks for the JSON item "result:success" before performing the various task depending on the TagID. If the result is not "success", however, the error message is printed to the screen.

Attachments (1)

print_errors.patch (744 bytes) - added by KyleK 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by KyleK

comment:1 Changed 10 years ago by jordan

  • Milestone changed from None Set to 2.40
  • Owner set to jordan
  • Status changed from new to assigned

comment:2 Changed 10 years ago by jordan

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r12726.

Thanks!

Note: See TracTickets for help on using tickets.