pijul_org / pijul

#310 Pijul panics when cloning nonexistent domain

Opened by l2dy, on September 20, 2018
Closed
l2dy commented on September 20, 2018

I'm using pijul 0.10.0. Cloning from a nonexistent domain crashes Pijul.

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: StringError("failed to lookup address information: nodename nor servname provided, or not known") }', libcore/result.rs:945:5
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
   1: std::sys_common::backtrace::print
   2: std::panicking::default_hook::{{closure}}
   3: std::panicking::default_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::continue_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::result::unwrap_failed
   9: pijul::commands::remote::Remote::session
  10: pijul::commands::clone::run
  11: pijul::main
  12: std::rt::lang_start::{{closure}}
  13: std::panicking::try::do_call
  14: __rust_maybe_catch_panic
  15: std::rt::lang_start_internal
  16: main
pmeunier commented on September 25, 2018

Thanks for reporting, I just fixed it.