Browse Source

Make the error message clearer.

Joe Clarke 5 years ago
parent
commit
c67f6f8a9e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      www/swreg/callhome.php

+ 1 - 1
www/swreg/callhome.php

@@ -78,7 +78,7 @@ if ($row['should_re_ztp'] == 2) {
         $sth = $dbh->prepare($sql);
         $res = $sth->execute(array(1, $sn));
     } catch (PDOException $e) {
-        $logger->crit("Failed to reset re-ZTP bit for {$sn}: {$e->getMessage()}");
+        $logger->crit("Failed to set the post-taste re-ZTP bit for {$sn}: {$e->getMessage()}");
     }
     exit(0);
 } elseif ($row['should_re_ztp'] == 1) {