diff options
author | rautenberg <rautenberg@in-silico.ch> | 2016-03-16 11:44:39 +0100 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2016-03-16 11:44:39 +0100 |
commit | 708caf95f82dc32147ab802f6788163182b712a5 (patch) | |
tree | 18b49a3fcd5b01c427e8a406a8a89a1791dfcb83 | |
parent | c37a0fb4e1b1a63b7bbbdd1dfd975ba7ee386d9c (diff) |
stop showing full error trace on sinatra
-rw-r--r-- | application.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/application.rb b/application.rb index 87fd40a..6b9347a 100644 --- a/application.rb +++ b/application.rb @@ -1,7 +1,8 @@ include OpenTox require 'rack/cors' -#require_relative "helper.rb" + +set :show_exceptions => false # add CORS support for swagger use Rack::Cors do |config| |