[noosfero/noosfero][master] events: add missing return on last commit
Antonio Terceiro
terceiro at colivre.coop.br
Thu Mar 26 11:00:07 BRT 2015
On Wed, Mar 25, 2015 at 11:25:35PM +0000, Bráulio Bhavamitra wrote:
> --- a/app/controllers/public/events_controller.rb
> +++ b/app/controllers/public/events_controller.rb
> @@ -8,7 +8,7 @@ class EventsController < PublicController
> begin
> @date = build_date params[:year], params[:month], params[:day]
> rescue
Please never use naked `rescue` statements: add exactly what
exception(s) you expect that may happen at that point, otherwise you
will mask other errors.
--
Antonio Terceiro <terceiro at colivre.coop.br>
Colivre - Cooperativa de Tecnologias Livres
http://www.colivre.coop.br/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150326/59003248/attachment.pgp>
More information about the Noosfero-dev
mailing list