diff --git a/ModuleHandling/BarModules.lua b/ModuleHandling/BarModules.lua
index 458b6b6..bdb8050 100644
--- a/ModuleHandling/BarModules.lua
+++ b/ModuleHandling/BarModules.lua
@@ -234,6 +234,9 @@ local function call_background_color_function(self, frame, bar_db, value, extra,
 		else
 			a = bar_db.background_alpha
 		end
+		if a >= 1 then
+			geterrorhandler()("a out of bounds")
+		end
 		return custom_background[1], custom_background[2], custom_background[3], a
 	end
 	if (not r or not g or not b) and frame.force_show and self.GetExampleBackgroundColor then
@@ -248,6 +251,9 @@ local function call_background_color_function(self, frame, bar_db, value, extra,
 	else
 		a = bar_db.background_alpha
 	end
+	if a >= 1 then
+		geterrorhandler()("a out of bounds")
+	end
 	if not r or not g or not b then
 		return nil, nil, nil, a 
 	end
