We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8cf973 commit 0aab695Copy full SHA for 0aab695
1 file changed
lib/Thruk/Utils/Log.pm
@@ -167,7 +167,7 @@ sub _strip_line {
167
}
168
169
# ex.: 400: Failed validation of service as type service (argument 0) at /src/thruk/lib/Monitoring/Livestatus.pm line 1568, <GEN7> line 1.
170
- if($lines[0] =~ s/$re//gmx) {
+ if(defined $lines[0] && $lines[0] =~ s/$re//gmx) {
171
return($lines[0]);
172
173
0 commit comments