[DRE-maint] Bug#684021: ruby-sinatra: shouldn't break error processing if error logging is failed

Jérémy Bobbio lunar at debian.org
Thu Apr 10 22:42:50 UTC 2014


Aliaksandr Barouski:
> When error logging in sinatra fails (with exception), it can't process
> exception in right way.
> 
> Example:
> Our code handles Errno:EROFS:
> error Errno:EROFS do
>   #some processing
> end
> 
> If standard logger (rack.error) starts failing (e.g. filesystem become
> read only), our handlers stop working and default error page appears.
> For fix this problem, Sinatra should ignore exceptions

Is the problem still reproducible with ruby-sinatra/1.4.5-1 that has
just been uploaded to unstable?

-- 
Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20140411/058cca75/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list