lib/contrast/agent/reporting/reporting_events/architecture_component.rb in contrast-agent-7.3.2 vs lib/contrast/agent/reporting/reporting_events/architecture_component.rb in contrast-agent-7.4.0
- old
+ new
@@ -57,9 +57,11 @@
def validate
unless VALID_TYPES.include?(type)
raise(ArgumentError, "#{ self } did not have a proper type - '#{ type }'. Unable to continue.")
end
raise(ArgumentError, "#{ self } did not have a proper URL. Unable to continue.") unless url
+
+ nil
end
end
end
end
end