Skip to content

Commit

Permalink
Fix email in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
johngodley committed May 10, 2020
1 parent b8db2b6 commit 9c87137
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion client/component/error/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class Error extends React.Component {
}

renderDebug( debug ) {
const email = 'mailto:john@search-regex?subject=Search%20Regex%20Error&body=' + encodeURIComponent( debug.join( '\n' ) );
const email = 'mailto:john@searchregex.com?subject=Search%20Regex%20Error&body=' + encodeURIComponent( debug.join( '\n' ) );
const github = 'https://github.com/johngodley/search-regex/issues/new?title=Search%20Regex%20Error&body=' + encodeURIComponent( '```\n' + debug.join( '\n' ) + '\n```\n\n' );

return (
Expand Down
1 change: 0 additions & 1 deletion models/replace.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public function save_and_replace( array $results, $column_id = null, $pos_id = n
if ( is_int( $replaced ) && $replaced > 0 ) {
$rows_replaced++;
$phrases_replaced += $replaced;
error_log($replaced);
}
}

Expand Down

0 comments on commit 9c87137

Please sign in to comment.