[DRE-maint] Bug#684021: ruby-sinatra: shouldn't break error processing if error logging is failed
Aliaksandr Barouski
a.barouski at sam-solutions.net
Mon Aug 6 10:28:45 UTC 2012
Package: ruby-sinatra
Version: 1.3.2-1
Severity: normal
Dear Maintainer,
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
Fixing patch could be found in attachment
--
Thanks,
Aliaksandr Barouski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-sinatra-error-handling.patch
Type: text/x-patch
Size: 488 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20120806/564a8089/attachment.bin>
More information about the Pkg-ruby-extras-maintainers
mailing list