You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (exeFile == null) thrownewFileNotFoundException("Unsupported platform: " + getProtocExeName(protocVersion));
I've occasionally seen transient issues with Maven downloads/caching that result in exeFile being evaluated to null -- but the error message is always "Unsupported platform", which isn't always accurate. I think having a bit more specific logging on which step actually failed would be really helpful.
The text was updated successfully, but these errors were encountered:
@os72, coming back to this issue, would you be open to introducing a logging lib (slf4j or JUL) into this repo? that way we could replace some of the commented-out log(...) calls in the code with a Logger#debug, and the user could specify how noisy they'd like log output to be.
I understand wanting to keep the repo vanilla Java though
from
extractProtoc
:protoc-jar/src/main/java/com/github/os72/protocjar/Protoc.java
Lines 199 to 223 in ced740f
I've occasionally seen transient issues with Maven downloads/caching that result in
exeFile
being evaluated tonull
-- but the error message is always "Unsupported platform", which isn't always accurate. I think having a bit more specific logging on which step actually failed would be really helpful.The text was updated successfully, but these errors were encountered: