1
0
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:
Laurent Cozic
2025-11-16 19:32:34 +00:00
parent d1dcc6ced5
commit 43e83e7cee

View File

@@ -150,7 +150,7 @@ const addPluginAssets = async (assets: RenderResultPluginAsset[], options: Optio
} catch (error) {
// We don't throw an exception but we log it since
// 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;
}