otaviocc / obsidian-microblog

Micro.publish is an Obsidian plugin to publish notes directly to Micro.blog, written in TypeScript.
MIT License
42 stars 3 forks source link

Network Error: 400 #10

Closed rich-howell closed 1 year ago

rich-howell commented 1 year ago

Hello,

I recently added this plugin to Obsidian as a way to publish to my blog from Windows, however there is a small issue I found when testing.

I created a new note and added a title then attempted to publish the post, I get the following error

image

Which seems to suggest there was a network problem, however It turns out that you can't publish a note from Obsidian without a body, a title is not enough and renders the above error message, it might be good if there was a way for this to be caught and the user informed that a blank body isn't allowed.

otaviocc commented 1 year ago

Good point. I'll fix it. Thanks!