]> git.openstreetmap.org Git - rails.git/blob - config/initializers/libxml.rb
Wrap GPX API calls with the API error handler, and make sure the create
[rails.git] / config / initializers / libxml.rb
1 # This is required otherwise libxml writes out memory errors to
2 # the standard output and exits uncleanly
3 LibXML::XML::Error.set_handler do |message|
4   raise message
5 end