We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c65321f + 612874c commit bae45bcCopy full SHA for bae45bc
lib/onelogin/ruby-saml/response.rb
@@ -126,7 +126,7 @@ def validate_structure(soft = true)
126
if soft
127
@schema.validate(@xml).map{ return false }
128
else
129
- @schema.validate(@xml).map{ |error| raise(Exception.new("#{error.message}\n\n#{@xml.to_s}")) }
+ @schema.validate(@xml).map{ |error| validation_error("#{error.message}\n\n#{@xml.to_s}") }
130
end
131
132
0 commit comments