X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Fcommon%2Factions.php;fp=planetlab%2Fcommon%2Factions.php;h=ffb6bc188b6cb6605fe5a911667396d1fd4fff16;hb=70489a7ced62033374416a119961f29c62d33e02;hp=c93a3269afb41b1fb09f35c6ea7e85ac4a954734;hpb=73da5b416908e3a2e562ffb0d21c3c3a7e13d265;p=plewww.git diff --git a/planetlab/common/actions.php b/planetlab/common/actions.php index c93a326..ffb6bc1 100644 --- a/planetlab/common/actions.php +++ b/planetlab/common/actions.php @@ -455,7 +455,7 @@ switch ($action) { if ($result == 1 ) drupal_set_message ("Interface $interface_id updated"); else - drupal_set_error ("Could not update interface"); + drupal_set_error ("Could not update interface: " . $api->error()); plc_redirect (l_interface($interface_id)); }