View | Details | Raw Unified | Return to bug 18206
Collapse All | Expand All

(-)a/t/db_dependent/api/v1.t (-2 / +1 lines)
Lines 97-103 subtest 'default_exception_handling() tests' => sub { Link Here
97
        $t->get_ok('/default_exception_handling/unknown')
97
        $t->get_ok('/default_exception_handling/unknown')
98
          ->status_is(500)
98
          ->status_is(500)
99
          ->json_is('/error' => 'Something went wrong, check the logs.');
99
          ->json_is('/error' => 'Something went wrong, check the logs.');
100
        like($appender->buffer, qr/ERROR - Unknown::Exception::OhNo => {"what":"test unknown exception"}/,
100
        like($appender->buffer, qr/ERROR - Unknown::Exception::OhNo => \{"what":"test unknown exception"\}/,
101
             'Found test unknown exception in log');
101
             'Found test unknown exception in log');
102
        $appender->{appender}->{buffer} = undef;
102
        $appender->{appender}->{buffer} = undef;
103
    };
103
    };
104
- 

Return to bug 18206