From a7235bb51c2044c2a65c464fbbd1a55929fdfa30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20G=C3=BCtlein?= Date: Thu, 25 Mar 2010 19:13:28 +0100 Subject: make sure datamapper-saving works --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application.rb b/application.rb index c83ba7f..e0a6abc 100644 --- a/application.rb +++ b/application.rb @@ -110,7 +110,7 @@ post '/?' do begin #dataset.owl = d.rdf #dataset.uri = uri - dataset.save + raise "saving failed: "+dataset.errors.inspect unless dataset.save rescue => e LOGGER.error e.message LOGGER.info e.backtrace -- cgit v1.2.3