Skip to content

Commit

Permalink
Updated use of response objects in debug message.
Browse files Browse the repository at this point in the history
  • Loading branch information
LswaN58 committed Jun 5, 2024
1 parent a74d60e commit 3ca384f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/gamedata.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
if ($response_obj->{'status'} == "SUCCESS") {
$game_files = GameFileInfo::fromObj($response_obj->{'val'});
if (!isset($game_files) || $game_files == null) {
$err_str = "Got empty game_files from request that had success=".$response_obj->{'success'}." and data=".json_encode($response_obj->{'data'});
$err_str = "Got empty game_files from request that had status=".$response_obj->{'status'}." and val=".json_encode($response_obj->{'val'});
error_log($err_str);
}

Expand Down

0 comments on commit 3ca384f

Please sign in to comment.