[1131] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r1083 - trunk/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:13:21 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@nelhage.com
To: dirty-owl-hackers@mit.edu
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Mon, 23 Jun 2008 22:14:26 -0400 (EDT)

Author: nelhage
Date: 2008-06-23 22:14:24 -0400 (Mon, 23 Jun 2008)
New Revision: 1083

Modified:
   trunk/owl/perlwrap.pm
Log:
perlwrap.pm: Don't fail to load modules because .owlconf died

This is not jesse's bug, but I noticed while looking for his.


Modified: trunk/owl/perlwrap.pm
===================================================================
--- trunk/owl/perlwrap.pm	2008-06-16 17:52:24 UTC (rev 1082)
+++ trunk/owl/perlwrap.pm	2008-06-24 02:14:24 UTC (rev 1083)
@@ -712,7 +712,10 @@
         undef $@;
         package main;
         do $BarnOwl::configfile;
-        die $@ if $@;
+        if($@) {
+            BarnOwl::error("In startup: $@\n");
+            return;
+        }
         package BarnOwl;
         if(*BarnOwl::format_msg{CODE}) {
             # if the config defines a legacy formatting function, add 'perl' as a style 


home help back first fref pref prev next nref lref last post