Skip to content

Commit

Permalink
Include $src in error log
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmigf committed Aug 30, 2024
1 parent 6c61d6e commit 0237aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/wcpdf-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ function wpo_wcpdf_get_image_src_in_base64( string $src ): string {
$image_base64 = wpo_wcpdf_base64_encode_file( $src );

if ( ! $image_base64 ) {
wcpdf_log_error( 'Unable to encode image source to base64.', 'critical' );
wcpdf_log_error( 'Unable to encode image source to base64:' . $src, 'critical' );
return $src;
}

Expand Down

0 comments on commit 0237aee

Please sign in to comment.