Use the right keyword this time...

This commit is contained in:
Thomas Wood 2009-04-09 23:18:21 +00:00
parent 6442208841
commit 464c490cae

View file

@ -52,7 +52,7 @@ class UserPreferenceController < ApplicationController
# update the entire set of preferences
def update
do
begin
p = XML::Parser.string(request.raw_post)
rescue LibXML::XML::Error, ArgumentError => ex
raise OSM::APIBadXMLError.new("preferences", xml, ex.message)