Skip to content

Commit

Permalink
Merge pull request #46 from christianhanvey/master
Browse files Browse the repository at this point in the history
Add feedback to import failures
  • Loading branch information
Mark-H committed Jan 24, 2014
2 parents 854edd8 + 3781627 commit 75a048e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/components/importx/processors/startimport.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
} else {
$errorMessage = $modx->lexicon('importx.err.savefailed')."\n".print_r($response->getMessage(),true);
}
$this->modx->importx->log('warn',$resourceCount.' of '.count($lines).' resources were imported successfully');
$this->modx->importx->log('error',$errorMessage);
return $this->modx->importx->log('complete','');
} else {
Expand Down

0 comments on commit 75a048e

Please sign in to comment.