mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
I2C_LCD: shorten unnessesary long error msg
git-svn-id: https://svn.fhem.de/fhem/trunk@5497 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6c82071b9c
commit
bc2851ed36
@ -162,8 +162,7 @@ I2C_LCD_Attr($$$$) {
|
||||
}
|
||||
}
|
||||
};
|
||||
# my $ret = I2C_LCD_Catch($@) if $@;
|
||||
my $ret = $@;
|
||||
my $ret = I2C_LCD_Catch($@) if $@;
|
||||
if ($ret) {
|
||||
$hash->{STATE} = "error setting $attribute to $value: ".$ret;
|
||||
return "cannot $command attribute $attribute to $value for $name: ".$ret;
|
||||
|
Loading…
Reference in New Issue
Block a user