Skip to content

Commit

Permalink
error fix when qc response is not ok
Browse files Browse the repository at this point in the history
  • Loading branch information
Hai Zheng committed Nov 14, 2024
1 parent 2721931 commit 24d6315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloud.cls.php
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ public function extract_msg($json, $service, $server = false, $is_callback = fal
$str_translated = Error::msg($json_msg);
$msg = __('Failed to communicate with QUIC.cloud server', 'litespeed-cache') . ': ' . $str_translated . " [server] $server [service] $service";
$msg .= $this->_parse_link($json);
$visible_err = $service !== self::API_VER && $service !== self::API_NEWS && strpos($service, self::SVC_D_STATUS) !== 0;
$visible_err = $service !== self::API_VER && $service !== self::API_NEWS && $service !== self::SVC_D_DASH;
if ($visible_err) {
Admin_Display::error($msg);
}
Expand Down

0 comments on commit 24d6315

Please sign in to comment.