summaryrefslogtreecommitdiffstats
path: root/registration.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2016-01-01 18:42:22 +0100
committerHarald Eilertsen <haraldei@anduin.net>2016-01-01 18:42:22 +0100
commit5354b4b28c0826f7ab47c7f79d7bceb7e0d07957 (patch)
treec396143878eeeb1ca780b217c67f6b1773a8283f /registration.rb
parent20db5a0042a3e2f10d6eb9a0c1853463cf43fa4e (diff)
downloadnorsk-urskog-registrations-5354b4b28c0826f7ab47c7f79d7bceb7e0d07957.tar.gz
norsk-urskog-registrations-5354b4b28c0826f7ab47c7f79d7bceb7e0d07957.tar.bz2
norsk-urskog-registrations-5354b4b28c0826f7ab47c7f79d7bceb7e0d07957.zip
Enable logging.
Hopefully this will add some clues as to why registration fails in a log somewhere.
Diffstat (limited to 'registration.rb')
-rw-r--r--registration.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/registration.rb b/registration.rb
index 69c074a..e627a33 100644
--- a/registration.rb
+++ b/registration.rb
@@ -9,6 +9,8 @@ class RegistrationApp < Sinatra::Base
helpers Sinatra::UrlForHelper
include ERB::Util
+ set :logging, true
+
config_file File.join(settings.root, 'config.yml')
get '/' do