mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '3.5' into 3
This commit is contained in:
commit
de8b5d6623
@ -79,7 +79,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
|||||||
* @config
|
* @config
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
private static $help_link = '//userhelp.silverstripe.org/framework/en/3.3';
|
private static $help_link = '//userhelp.silverstripe.org/framework/en/3.5';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
|
@ -81,7 +81,11 @@ class CsvBulkLoader extends BulkLoader {
|
|||||||
@unlink($file);
|
@unlink($file);
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
print "Failed to parse {$last}\n";
|
$failedMessage = sprintf("Failed to parse %s", $last);
|
||||||
|
if (Director::isDev()) {
|
||||||
|
$failedMessage = sprintf($failedMessage . " because %s", $e->getMessage());
|
||||||
|
}
|
||||||
|
print $failedMessage . PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
Loading…
Reference in New Issue
Block a user