about summary refs log tree commit homepage
path: root/extras
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-05-09 08:52:56 +0000
committerEric Wong <e@80x24.org>2015-05-11 01:19:21 +0000
commit8ffb3d788517d675329bc5879c74b5531149d05d (patch)
tree1f74aef21543a8db61aa715988453da08ec81364 /extras
parentbcdcea2e06a171e77a88770875ef6b91d7ab3ca3 (diff)
downloadyahns-8ffb3d788517d675329bc5879c74b5531149d05d.tar.gz
Some applications may lazily load code during app dispatch,
triggering LoadError or SyntaxError exceptions.  Log the error and
backtrace so application maintainers can more easily notice and
diagnose problems.

Keep in mind users are likely to have performance and race condition
problems with lazy loading, and the process may still be in a bad
state due to partially-loaded code.  This commit is only intended to
give application authors a chance to notice and fix or avoid
problems in the future.

Note: logging fatal exceptions by default in all threads was
proposed in ruby-core, but currently not implemented in any released
version:

	https://bugs.ruby-lang.org/issues/6647

Reported-by: Lin Jen-Shin (godfat) <godfat@godfat.org>
<CAA2_N1umJO12XH9r+JHnA6r=z=Mwp_PqOrdnW65oqW2K2-iAoQ@mail.gmail.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions