Changeset 965e14d


Ignore:
Timestamp:
Mar 11, 2008, 12:38:20 PM (13 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
0b6b689
Parents:
9815e2e
Message:
Generate less ugly error spew if a module fails to load
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/ModuleLoader.pm

    re005862 r965e14d  
    4040        if(!defined eval "use BarnOwl::Module::$class") {
    4141            # BarnOwl::error("Unable to load module $class: $!") if $!;
    42             BarnOwl::error("Unable to load module $class: $@") if $@;
     42            BarnOwl::error("Unable to load module $class: \n$@\n") if $@;
    4343        }
    4444    }
Note: See TracChangeset for help on using the changeset viewer.