Moved panick_hook to util/panic_hook (#7629)

This commit is contained in:
Marek Kotewicz 2018-01-20 20:28:25 +01:00 committed by GitHub
parent d31cfd3c64
commit 51ef70922e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@ parity-version = { path = "util/version" }
parity-whisper = { path = "whisper" }
path = { path = "util/path" }
dir = { path = "util/dir" }
panic_hook = { path = "panic_hook" }
panic_hook = { path = "util/panic_hook" }
keccak-hash = { path = "util/hash" }
migration = { path = "util/migration" }
kvdb = { path = "util/kvdb" }

View File

@ -7,7 +7,7 @@ authors = ["Parity Technologies <admin@parity.io>"]
docopt = "0.8"
env_logger = "0.4"
ethkey = { path = "../" }
panic_hook = { path = "../../panic_hook" }
panic_hook = { path = "../../util/panic_hook" }
parity-wordlist="1.2"
rustc-hex = "1.0"
serde = "1.0"

View File

@ -12,7 +12,7 @@ serde_derive = "1.0"
parking_lot = "0.5"
ethstore = { path = "../" }
dir = { path = '../../util/dir' }
panic_hook = { path = "../../panic_hook" }
panic_hook = { path = "../../util/panic_hook" }
[[bin]]
name = "ethstore"

View File

@ -16,7 +16,7 @@ ethcore-bytes = { path = "../util/bytes" }
ethcore-transaction = { path = "../ethcore/transaction" }
ethereum-types = "0.1"
evm = { path = "../ethcore/evm" }
panic_hook = { path = "../panic_hook" }
panic_hook = { path = "../util/panic_hook" }
rustc-hex = "1.0"
serde = "1.0"
serde_derive = "1.0"

View File

@ -18,10 +18,10 @@
extern crate backtrace;
use backtrace::Backtrace;
use std::io::{self, Write};
use std::panic::{self, PanicInfo};
use std::thread;
use backtrace::Backtrace;
/// Set the panic hook
pub fn set() {