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

(-)a/installer/data/mysql/atomicupdate/skeleton.pl (-7 / +3 lines)
Lines 11-22 return { Link Here
11
        # Do you stuffs here
11
        # Do you stuffs here
12
        try {
12
        try {
13
            $dbh->do(q{});
13
            $dbh->do(q{});
14
        } finally {
14
            say_success( $out, "Database modification was successful!" );
15
            if (@_) {
15
        } catch {
16
                say_failure( $out, "Database modification failed with errors: @_" );
16
            say_failure( $out, "Database modification failed with errors: $_" );
17
            } else {
18
                say_success( $out, "Database modification was successful!" );
19
            }
20
        };
17
        };
21
18
22
        # Print useful stuff here
19
        # Print useful stuff here
23
- 

Return to bug 37895