Skip to content

Commit

Permalink
Merge pull request #36 from ngrok/nikolay/better-errors
Browse files Browse the repository at this point in the history
Improve errors returned from native (including ngrok specific)
  • Loading branch information
nikolay-ngrok authored Oct 27, 2023
2 parents 18ac95d + f297813 commit bba1db9
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 84 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ rebuild:

.PHONY: install
install:
mvn install --global-toolchains toolchains.xml
mvn install --global-toolchains toolchains.xml

.PHONY: reinstall
reinstall:
mvn clean install --global-toolchains toolchains.xml
1 change: 1 addition & 0 deletions ngrok-java-native/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ fn main() -> Result<(), Box<dyn Error>> {
Cow::from("com.ngrok.TlsBuilder"),
Cow::from("com.ngrok.AbstractEdge"),
Cow::from("com.ngrok.AbstractEndpoint"),
Cow::from("com.ngrok.NgrokException"),
];
let output_dir = PathBuf::from(std::env::var("OUT_DIR").expect("OUT_DIR not set"));

Expand Down
Loading

0 comments on commit bba1db9

Please sign in to comment.