Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: If the git remote address can't established, the plugins can't use and no tips. #764

Open
YangAoLib opened this issue Sep 2, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@YangAoLib
Copy link

Describe the bug

When the git remote address is not established, the plugin will be unusable with no prompts.

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

the console no error info.

Steps to reproduce

  1. Remove the known_host file from the SSH directory.
  2. Open Obsidian.

Expected Behavior

Display an error message or a pop-up for user confirmation when the URL is not specified.

Addition context

No response

Operating system

Windows

Installation Method

None

Plugin version

2.23.2

@YangAoLib YangAoLib added the bug Something isn't working label Sep 2, 2024
@Vinzent03
Copy link
Owner

I'm unsure what your exact issue is. Can you push or pull? If not please try pulling from the terminal.

@YangAoLib
Copy link
Author

When I remove the known_host file, I can't pull and push in the obsidian.
I can operate in the terminal.
At first, I didn’t know what caused it until I ran the pull command in the terminal.

So, I think the error tips is necessary.

@Vinzent03
Copy link
Owner

But what exactly happens when you try to pull in Obsidian? Does it just load infinitely? When you pull in the terminal, shouldn't it ask you to re-add the host to the known_host file? So that afterward it works again in Obsidian?

@YangAoLib
Copy link
Author

Sure, after I pull in the terminal, it can do well.
In Obsidian, nothing transpires. Consequently, we must incorporate prompts within Obsidian to alert users to the presence of an ongoing issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants