Changeset 1221 for trunk/core/lib/Foswiki/OopsException.pm
- Timestamp:
- 12/09/08 18:16:48 (3 years ago)
- File:
-
- 1 edited
-
trunk/core/lib/Foswiki/OopsException.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/lib/Foswiki/OopsException.pm
r1127 r1221 87 87 my $this = $class->SUPER::new(); 88 88 $this->{template} = $template; 89 $this->{status} = 500; # default server error 89 90 ASSERT( scalar(@_) % 2 == 0, join( ";", map { $_ || 'undef' } @_ ) ) 90 91 if DEBUG; … … 177 178 178 179 my @p = $this->_prepareResponse( $session ); 179 $session->{response}->status( $this->{status} || 500);180 $session->{response}->status( $this->{status} ); 180 181 require Foswiki::UI::Oops; 181 182 Foswiki::UI::Oops::oops($session, $this->{web}, $this->{topic},
Note: See TracChangeset
for help on using the changeset viewer.
