[web-master] main: Show error message when it fails

From: Date: Tue, 20 Jan 2026 16:33:01 +0000
Subject: [web-master] main: Show error message when it fails
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-33532@lists.php.net to get a copy of this message
Author: Derick Rethans (derickr) Date: 2026-01-20T16:32:56Z Commit: https://github.com/php/web-master/commit/9b15e165a89449863ab7aa4b425eebb9098f1007 Raw diff: https://github.com/php/web-master/commit/9b15e165a89449863ab7aa4b425eebb9098f1007.diff Show error message when it fails Changed paths: M public/fetch/email-aliases.php Diff: diff --git a/public/fetch/email-aliases.php b/public/fetch/email-aliases.php index 74cf3bb..3609cd0 100644 --- a/public/fetch/email-aliases.php +++ b/public/fetch/email-aliases.php @@ -20,6 +20,7 @@ function error($text, $status) header("HTTP/1.0 401 Unauthorized"); break; } + echo json_encode(["error" => $text]); exit; }

« previous php.webmaster (#33532) next »