pijul_org / pijul

#434 panic on push

Opened by extrawurst, on November 12, 2019
Open
extrawurst commented on November 12, 2019

I guess this should not panic but print s useful message? :)\r + \r +

RUST_BACKTRACE=1 pijul push https://nest.pijul.com/extrawurst/test                                                        SIGINT(2) ↵  2087  19:44:11\r+
Pushing to branch master\r                                                                                                                                +
Hash: Ap4PgoQGxV128hYdT8HC4zNvvJqL4bYs5uQQ1j8mf6ad1yZP3dahqQiUHsB8DYNy7UnURr4akyxzx9nfhjffTHLK\r                                                          +
Internal id: gGDe8M9ZpTw\r                                                                                                                                +
Authors:\r                                                                                                                                                +
Timestamp: 2019-11-12 16:57:49.018858 UTC\r                                                                                                               +
\r                                                                                                                                                        +
    initial commit\r                                                                                                                                      +
\r                                                                                                                                                        +
Shall I push this patch? [ynkad?] y\r                                                                                                                     +
thread 'main' panicked at 'upload to URI impossible', pijul/src/commands/remote.rs:962:18\r                                                               +
stack backtrace:\r                                                                                                                                        +
   0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt\r                                                                 +
   1: core::fmt::write\r                                                                                                                                  +
   2: std::io::Write::write_fmt\r                                                                                                                         +
   3: std::panicking::default_hook::{{closure}}\r                                                                                                         +
   4: std::panicking::default_hook\r                                                                                                                      +
   5: std::panicking::rust_panic_with_hook\r                                                                                                              +
   6: std::panicking::begin_panic\r                                                                                                                       +
   7: pijul::commands::remote::Session::push\r                                                                                                            +
   8: pijul::commands::push::run\r                                                                                                                        +
   9: pijul::main\r                                                                                                                                       +
  10: std::rt::lang_start::{{closure}}\r                                                                                                                  +
  11: std::panicking::try::do_call\r                                                                                                                      +
  12: __rust_maybe_catch_panic\r                                                                                                                          +
  13: std::rt::lang_start_internal\r                                                                                                                      +
  14: main\r                                                                                                                                              +