diff options
author | Martin Gütlein <martin.guetlein@gmail.com> | 2010-03-25 19:13:28 +0100 |
---|---|---|
committer | Martin Gütlein <martin.guetlein@gmail.com> | 2010-03-25 19:13:28 +0100 |
commit | a7235bb51c2044c2a65c464fbbd1a55929fdfa30 (patch) | |
tree | 0cefa576b59219b69258e5f2a78f2e269c006183 | |
parent | 6e97b25a827d54c1b39e53f4c39196403e490d03 (diff) |
make sure datamapper-saving works
-rw-r--r-- | application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |