File tree 4 files changed +7
-5
lines changed 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
2
- 9.33 2023-05-10
2
+ 9.33 2023-05-15
3
+ - Improved log messages to refer to the FAQ when they have an entry.
3
4
4
5
9.32 2023-05-09
5
6
- Improved file and line number details in async/await exceptions. (batman)
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ sub _listen {
200
200
$stream -> on(close => sub { $self && $self -> _close($id ) });
201
201
$stream -> on(error => sub { $self && $self -> app-> log -> error(pop ) && $self -> _close($id ) });
202
202
$stream -> on(read => sub { $self -> _read($id => pop ) });
203
- $stream -> on(timeout => sub { $self -> _trace($id , ' Inactivity timeout' ) });
203
+ $stream -> on(timeout => sub { $self -> _trace($id , ' Inactivity timeout (see FAQ for more) ' ) });
204
204
}
205
205
);
206
206
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ sub _manage {
110
110
next unless my $w = $self -> {pool }{$pid };
111
111
112
112
# No heartbeat (graceful stop)
113
- $log -> error(" Worker $pid has no heartbeat ($ht seconds), restarting" ) and $w -> {graceful } = $time
113
+ $log -> error(" Worker $pid has no heartbeat ($ht seconds), restarting (see FAQ for more) " ) and $w -> {graceful } = $time
114
114
if !$w -> {graceful } && ($w -> {time } + $interval + $ht <= $time );
115
115
116
116
# Graceful stop with timeout
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ has secrets => sub {
45
45
my $self = shift ;
46
46
47
47
# Warn developers about insecure default
48
- $self -> log -> trace(' Your secret passphrase needs to be changed' );
48
+ $self -> log -> trace(' Your secret passphrase needs to be changed (see FAQ for more) ' );
49
49
50
50
# Default to moniker
51
51
return [$self -> moniker];
@@ -141,7 +141,8 @@ sub handler {
141
141
$self -> plugins-> emit_chain(around_dispatch => $c );
142
142
143
143
# Delayed response
144
- $c -> helpers-> log -> trace(' Nothing has been rendered, expecting delayed response' ) unless $c -> stash-> {' mojo.rendered' };
144
+ $c -> helpers-> log -> trace(' Nothing has been rendered, expecting delayed response (see FAQ for more)' )
145
+ unless $c -> stash-> {' mojo.rendered' };
145
146
}
146
147
147
148
sub helper { shift -> renderer-> add_helper(@_ ) }
You can’t perform that action at this time.
0 commit comments