We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab2f8a3 commit 66195b8Copy full SHA for 66195b8
extensions/includes/publish.mjs
@@ -189,8 +189,10 @@ function handlePublishError(error) {
189
tiled.alert(`Failed to publish! API returned error: ${error.info} (code: ${error.code})`);
190
return;
191
}
192
- tiled.alert('Failed to publish! Please check the console for details.');
193
- tiled.log(`Error details: ${error.message || error}`);
+ tiled.alert(`Failed to publish! ${error.message || error}`);
+ if (error.stack) {
194
+ tiled.log(`Error details: ${error.stack}`);
195
+ }
196
197
198
const publishAction = tiled.registerAction('PublishToWiki', () => {
0 commit comments