Skip to content

Commit

Permalink
critical_error!: use fully-qualified path for the type (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini authored Jul 19, 2023
1 parent ee3ac16 commit 63cdc77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion blockchain-source/src/cardano/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub use cardano_sdk::protocol::Tip;
use cardano_sdk::protocol::Version;
pub use configuration::{ChainInfo, NetworkConfiguration};
use dcspark_core::critical_error;
use dcspark_core::error::CriticalError;
pub use point::*;
use tokio::sync::{mpsc, oneshot};
use tokio::time::Duration;
Expand Down
2 changes: 1 addition & 1 deletion core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ impl std::fmt::Display for CriticalError {
#[macro_export]
macro_rules! critical_error {
() => {
CriticalError {
$crate::error::CriticalError {
line: line!(),
file: file!(),
}
Expand Down

0 comments on commit 63cdc77

Please sign in to comment.