We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3740d44 commit cf0119bCopy full SHA for cf0119b
1 file changed
src/S3/Deployer.php
@@ -193,7 +193,7 @@ public function uploadFilesIter( \Iterator $path_infos ): void {
193
&& ! isset( $cmd_data['SourceFile'] )
194
&& ! isset( $cmd_data['WebsiteRedirectLocation'] )
195
) {
196
- $msg = 'Invalid deploy data: ' . json_encode( $file );
+ $msg = 'Invalid deploy data: ' . json_encode( $cmd_data );
197
if ( defined( 'STATIC_DEPLOY_ESCAPE_EXCEPTIONS' )
198
&& STATIC_DEPLOY_ESCAPE_EXCEPTIONS ) {
199
throw WsLog::ex( esc_html( $msg ) );
0 commit comments