Skip to content

Commit 93b54a0

Browse files
committed
added Sinatra logging for better error handling
1 parent bf2169b commit 93b54a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class SpacexAPI < Sinatra::Base
1919

2020
# Allows connections from all
2121
set :bind, '0.0.0.0'
22+
set :logging, true
2223

2324
# Enable CORS
2425
configure do

0 commit comments

Comments
 (0)