57_CalDav.pm: catch error condition

git-svn-id: https://svn.fhem.de/fhem/trunk@18736 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2019-02-25 13:41:48 +00:00
parent aaa063980e
commit f35b8d4957

View File

@@ -47,7 +47,7 @@ sub CalDav_Process($$$) {
my $url = $hash->{URL};
my $options = $hash->{OPTIONS};
unless $data {
unless ($data) {
Log3 $hash,1,"CalDav: Maybe this is the wrong way to use your calendar. Try 57_Calendar.pm instead.";
return;
}