From: "Alex Legler" <a3li@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ag-web:master commit in: /
Date: Sat, 21 Feb 2015 15:50:32 +0000 (UTC) [thread overview]
Message-ID: <1424533819.7bc2d5aa2fe90fa41f17a7693aed647870f5f633.a3li@gentoo> (raw)
commit: 7bc2d5aa2fe90fa41f17a7693aed647870f5f633
Author: Alex Legler <alex <AT> a3li <DOT> li>
AuthorDate: Sat Feb 21 15:50:19 2015 +0000
Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 15:50:19 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/ag-web.git;a=commit;h=7bc2d5aa
Internal Server Error is 500, not 503
---
ag-web.rb | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/ag-web.rb b/ag-web.rb
index 850d1db..d07a18a 100644
--- a/ag-web.rb
+++ b/ag-web.rb
@@ -44,7 +44,7 @@ get '/:list/report/:msgid' do
erb :report, locals: { message: result_data, list: params[:list] }
rescue Exception => e
$stderr.puts e.to_s
- status 503
+ status 500
end
end
@@ -79,7 +79,7 @@ post '/report' do
erb :reportsent, locals: { message: result_data, list: params[:list], msg: msg }
rescue Exception => e
$stderr.puts e.to_s
- status 503
+ status 500
end
end
@@ -95,7 +95,7 @@ get '/:list/' do
erb :listindex, locals: { results: result, list: params[:list], current_monthint: current_monthint }
rescue => e
$stderr.puts e.to_s
- status 503
+ status 500
end
end
@@ -111,7 +111,7 @@ get '/:list/threads/:year-:month/:page?' do
erb :listmonth, locals: { results: result, list: params[:list], current_page: current_page, max_pages: max_pages, mode: :threads }
rescue => e
$stderr.puts e.to_s
- status 503
+ status 500
end
end
@@ -127,7 +127,7 @@ get '/:list/messages/:year-:month/:page?' do
erb :listmonth, locals: { results: result, list: params[:list], current_page: current_page, max_pages: max_pages, mode: :messages }
rescue => e
$stderr.puts e.to_s
- status 503
+ status 500
end
end
@@ -151,7 +151,7 @@ get '/:list/message/:msgid' do
erb :message, locals: { message: result_data, list: params[:list], parent: parent_data, children: child_data }
rescue Exception => e
$stderr.puts e.to_s
- status 503
+ status 500
end
end
next reply other threads:[~2015-02-21 15:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-21 15:50 Alex Legler [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-02-22 0:19 [gentoo-commits] proj/ag-web:master commit in: / Robin H. Johnson
2015-02-22 0:29 Alex Legler
2015-02-22 0:30 Alex Legler
2015-02-22 0:48 Alex Legler
2015-02-25 11:02 Alex Legler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424533819.7bc2d5aa2fe90fa41f17a7693aed647870f5f633.a3li@gentoo \
--to=a3li@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox