Closing a ticket that is already in the closed state should provide some sort of indicator message that the ticket is already closed.
We probably should handle the case of a non-existent ticket here too.
stormyk@desched1:~> ctt close 110000 'fake closure on ticket for the future'
thread 'main' panicked at src/lib.rs:23:83:
called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("desched1")), port: Some(8000), path: "/api", query: None, fragment: None }, source: hyper::Error(IncompleteMessage) }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Closing a ticket that is already in the closed state should provide some sort of indicator message that the ticket is already closed.
We probably should handle the case of a non-existent ticket here too.