summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin.rs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/warp/src/plugin.rs')
-rw-r--r--plugins/warp/src/plugin.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/warp/src/plugin.rs b/plugins/warp/src/plugin.rs
index 3306801d..ee778062 100644
--- a/plugins/warp/src/plugin.rs
+++ b/plugins/warp/src/plugin.rs
@@ -102,7 +102,10 @@ pub extern "C" fn CorePluginInit() -> bool {
// Register our highlight render layer.
HighlightRenderLayer::register();
- workflow::insert_workflow();
+ if workflow::insert_workflow().is_err() {
+ log::error!("Failed to register WARP workflow");
+ return false;
+ }
// TODO: Make the retrieval of containers wait on this to be done.
// TODO: We could also have a mechanism for lazily loading the files using the chunk header target.