From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0491E138A1A for ; Sat, 21 Feb 2015 15:50:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8FE46E0855; Sat, 21 Feb 2015 15:50:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 215F2E0855 for ; Sat, 21 Feb 2015 15:50:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1CEC73406D8 for ; Sat, 21 Feb 2015 15:50:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8092D123E6 for ; Sat, 21 Feb 2015 15:50:32 +0000 (UTC) From: "Alex Legler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alex Legler" Message-ID: <1424533819.7bc2d5aa2fe90fa41f17a7693aed647870f5f633.a3li@gentoo> Subject: [gentoo-commits] proj/ag-web:master commit in: / X-VCS-Repository: proj/ag-web X-VCS-Files: ag-web.rb X-VCS-Directories: / X-VCS-Committer: a3li X-VCS-Committer-Name: Alex Legler X-VCS-Revision: 7bc2d5aa2fe90fa41f17a7693aed647870f5f633 X-VCS-Branch: master Date: Sat, 21 Feb 2015 15:50:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4a9e00ff-55b7-433b-818f-a0e3d8ecd482 X-Archives-Hash: 94e095ffdea8d5e1a276b3051070a5d9 commit: 7bc2d5aa2fe90fa41f17a7693aed647870f5f633 Author: Alex Legler a3li li> AuthorDate: Sat Feb 21 15:50:19 2015 +0000 Commit: Alex Legler gentoo 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