feat[update]: add a hint for dxcc update failure

This commit is contained in:
HB9HIL
2024-12-03 11:11:04 +01:00
parent b95cd1afd6
commit 3460318e85
2 changed files with 4 additions and 3 deletions

View File

@@ -211,7 +211,7 @@ class Update extends CI_Controller {
$gz = gzopen($url, 'r');
if ($gz === FALSE) {
$this->update_status("FAILED: Could not download from clublog.org");
log_message('error', 'FAILED: Could not download exceptions from clublog.org');
log_message('error', 'FAILED: Could not download data from clublog.org');
exit();
}
@@ -223,6 +223,7 @@ class Update extends CI_Controller {
if (file_put_contents($this->paths->make_update_path("cty.xml"), $data) === FALSE) {
$this->update_status("FAILED: Could not write to cty.xml file");
log_message('error', 'DXCC UPDATE FAILED: Could not write to cty.xml file');
exit();
}