mirror of
https://github.com/strapi/strapi.git
synced 2025-10-28 16:39:37 +00:00
Improve error message
This commit is contained in:
parent
fff1cd3933
commit
1b52da5cd7
@ -162,7 +162,9 @@ class LocalStrapiDestinationProvider implements IDestinationProvider {
|
||||
// Create a .gitkeep file to ensure the directory is not empty
|
||||
await fse.outputFile(path.join(assetsDirectory, '.gitkeep'), '');
|
||||
} catch (err) {
|
||||
throw new ProviderTransferError('The backup folder for the assets could not be created.');
|
||||
throw new ProviderTransferError(
|
||||
'The backup folder for the assets could not be created inside the public directory.'
|
||||
);
|
||||
}
|
||||
|
||||
return new Writable({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user