mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-30 00:34:28 +02:00
Give slightly more information on Transport API failure.
This commit is contained in:
@@ -41,7 +41,7 @@ foreach( $opts as $method=>$apis ) {
|
||||
var_dump("API '$host' returned Error"); //FIXME: propper debuging
|
||||
var_dump("Params: ".$api); //FIXME: propper debuging
|
||||
var_dump("Return: ".$ret); //FIXME: propper debuging
|
||||
return false;
|
||||
return 'HTTP Status code '.$code;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user