You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Chore: Improve error message when an asset cannot be removed
This commit is contained in:
@@ -150,7 +150,7 @@ const addPluginAssets = async (assets: RenderResultPluginAsset[], options: Optio
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
// We don't throw an exception but we log it since
|
// We don't throw an exception but we log it since
|
||||||
// it shouldn't happen
|
// it shouldn't happen
|
||||||
console.warn('Tried to remove an asset but got an error', error);
|
console.warn('Tried to remove an asset but got an error. On asset:', asset, error);
|
||||||
}
|
}
|
||||||
pluginAssetsAdded_[assetId] = null;
|
pluginAssetsAdded_[assetId] = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user