I have no idea
This commit is contained in:
parent
7195d48e7b
commit
01c585e189
|
@ -18,6 +18,12 @@ class Travis::Api::App
|
|||
"This feature has not yet been implemented. Sorry :(\n\nPull Requests welcome!"
|
||||
end
|
||||
|
||||
def call(env)
|
||||
super
|
||||
rescue Sinatra::NotFound
|
||||
[404, {'Content-Type' => 'text/plain'}, ['Tell Konstantin to fix this!']]
|
||||
end
|
||||
|
||||
configure do
|
||||
# We pull in certain protection middleware in App.
|
||||
# Being token based makes us invulnerable to common
|
||||
|
|
Loading…
Reference in New Issue
Block a user