Changeset 453


Ignore:
Timestamp:
07/10/12 17:09:37 (12 years ago)
Author:
nanardon
Message:

Display error message (including perl error from website)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bot/trunk/lib/Sophie/Bot/Term.pm

    r452 r453  
    1818sub show_reply { 
    1919    my ($self, $heap, $reply) = @_; 
    20     if ($reply->{error}) { 
     20    if ($reply->{faultString}) { 
     21        print $reply->{faultString} . "\n"; 
     22    } elsif ($reply->{error}) { 
    2123        print $reply->{error} . "\n"; 
    2224    } else { 
Note: See TracChangeset for help on using the changeset viewer.