Skip to content

Commit

Permalink
Avoid logging success on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
cgzones committed Jun 7, 2024
1 parent 6cd73c4 commit 78ef1b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sp_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ static void sp_reregister_php_wrapper(void) {

if (php_register_url_stream_wrapper("php", &sp_php_stream_php_wrapper) != SUCCESS) {
sp_log_warn(LOG_FEATURE, "Failed to register custom stream wrapper \"php\"");
return;
}

sp_log_debug(LOG_FEATURE, "Stream \"php\" successfully re-registered");
Expand Down

0 comments on commit 78ef1b6

Please sign in to comment.