Skip to content

Commit

Permalink
Report missing Carabiner executable details when can't run it.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Elliott committed Oct 16, 2023
1 parent 747aea8 commit db120e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ project, all you need is to include the appropriate dependency.
dependency in a variety of tools, can be found and copied in the **Snippets**
section by choosing your build tool from the menu.

ee the [API Documentation](http://deepsymmetry.org/beat-carabiner-java/apidocs/)
See the [API Documentation](http://deepsymmetry.org/beat-carabiner-java/snapshot/apidocs/)
for full details, but here is a nutshell guide:

**To Do: Write this!**
**To Do: Write this! And update API docs link to a non-snapshot link after first release!**

Although it is possible to download (or build) and start your own copy
of [Carabiner](https:/Deep-Symmetry/carabiner) if you are
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/org/deepsymmetry/bcj/Core.java
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,8 @@ public synchronized void connect() throws IOException {
Runner.getInstance().start();
connectInternal(true);
} else {
throw e;
throw new IllegalStateException("Carabiner is not running, and we lack a compatible executable, " +
Runner.getInstance().getExecutableName(), e);
}
}
} catch (ConnectException e) {
Expand Down

0 comments on commit db120e2

Please sign in to comment.