Skip to content

Commit

Permalink
Fix exception when fetching unknown torrent.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramon Kleiss committed Sep 11, 2013
1 parent e1e31e5 commit 5f7c715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Transmission/Transmission.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function get($id)

if (!$torrent instanceof Torrent) {
throw new \RuntimeException(
sprintf("Torrent with ID %d not found", $id)
sprintf("Torrent with ID %s not found", $id)
);
}

Expand Down

0 comments on commit 5f7c715

Please sign in to comment.