Moved panick_hook to util/panic_hook (#7629)
This commit is contained in:
		
							parent
							
								
									d31cfd3c64
								
							
						
					
					
						commit
						51ef70922e
					
				| @ -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" } | ||||
|  | ||||
| @ -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" | ||||
|  | ||||
| @ -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" | ||||
|  | ||||
| @ -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" | ||||
|  | ||||
| @ -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() { | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user