Skip to content

Commit

Permalink
Update to exit 1 on site creation failure cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Riddhesh Sanghvi <riddhesh237@gmail.com>
  • Loading branch information
mrrobot47 committed Oct 3, 2024
1 parent eb87d10 commit 3514fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WordPress.php
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ private function catch_clean( $e ) {
$this->delete_site( $this->level, $this->site_data['site_url'], $this->site_data['site_fs_path'], $db_data );
\EE\Utils\delem_log( 'site cleanup end' );
\EE::log( 'Report bugs here: https://github.com/EasyEngine/site-type-wp' );
exit;
exit( 1 );
}

/**
Expand Down

0 comments on commit 3514fd4

Please # to comment.