fixed Rails exception handling when Errlog is not configured