forked from mirrors/gstreamer-rs
gstreamer: Fix typo in macro
This commit is contained in:
parent
64abf69987
commit
2a11b9d2cf
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ macro_rules! plugin_define(
|
|||
let cause = err.downcast_ref::<&str>().copied()
|
||||
.or_else(|| err.downcast_ref::<String>().map(|s| s.as_str()));
|
||||
if let Some(cause) = cause {
|
||||
$crate::error!($crate::PLUGIN_LOADING, "Failed to initialize plugin due to panic: {}", cause);
|
||||
$crate::error!($crate::CAT_PLUGIN_LOADING, "Failed to initialize plugin due to panic: {}", cause);
|
||||
} else {
|
||||
$crate::error!(cat, "Failed to initialize plugin due to panic");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue