它在DEBUG = True模式下运行。有时它会在遇到错误时抛出带有回溯信息的错误消息,但有时只显示以下几行:
Unhandled Exception
An unhandled exception was thrown by the application.
我必须切换到开发服务器才能看到详细消息。
如何使其在遇到错误时始终显示回溯消息?
我有一个关于如何正确配置以在SysLog中显示rails logger.error消息的问题。我们使用SyslogLogger gem。在我们的Syslog config中,我们有这样的过滤器:
if $programname == 'rails' and ($syslogseverity-text == 'emerg') then @somehost
if $programname == 'rails' and ($syslogseverity-text == 'alert') then
我的网站有一条消息在索引文件,它将显示在一个特殊的条件。当我搜索我的网站通过关键字,谷歌搜索显示的信息。
我的代码如下所示
<div id="splashPage" style="display:none">
<div class="page-note">
<p class="page-help">For
instructions on how to resolve this issue contact admin . T