From d6de1263c78656cf6a9edab34ba80c4b53db10c7 Mon Sep 17 00:00:00 2001 From: Yash Patel Date: Fri, 13 Dec 2024 13:20:06 -0800 Subject: [PATCH] Propagate exception when tag load fails --- config/resource_handler/resource_handler.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/resource_handler/resource_handler.config b/config/resource_handler/resource_handler.config index 7fcd02c..6feb936 100644 --- a/config/resource_handler/resource_handler.config +++ b/config/resource_handler/resource_handler.config @@ -175,7 +175,7 @@ class PipelineAllocation { this.load_resource_profile(profile_tag) return } catch (all) { - // Continue to try loading `default` profile + throw new Exception(" ### ERROR ### Failed to load requested profile: ${profile_tag}. Please check and provide a valid tag.") } }